Stefan Roese [Thu, 17 Jul 2008 08:40:51 +0000 (10:40 +0200)]
ppc4xx: Fix alphabetical order in 4xx Makefile part (redwood)
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Mon, 14 Jul 2008 08:45:47 +0000 (10:45 +0200)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot into next
Wolfgang Denk [Sun, 13 Jul 2008 17:51:00 +0000 (19:51 +0200)]
Fix some more printf() format problems.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Sun, 13 Jul 2008 17:48:26 +0000 (19:48 +0200)]
ADS5121: Fix (delete) incorrect ads5121_diu_init() prototype
Signed-off-by: Wolfgang Denk <wd@denx.de>
Anatolij Gustschin [Sat, 12 Jul 2008 15:31:36 +0000 (17:31 +0200)]
Fix bug in Lime video driver
We need to wait while drawing engine clears frame
buffer before any further software accesses to frame
buffer will be initiated. Otherwise software drawn
parts could be partially destroyed by the drawing
engine or even GDC chip freeze could occur (as
observed on socrates board).
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Jean-Christophe PLAGNIOL-VILLARD [Sat, 12 Jul 2008 12:36:34 +0000 (14:36 +0200)]
Fix some more printf() format issues.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Michal Simek [Fri, 11 Jul 2008 13:11:57 +0000 (15:11 +0200)]
hwmon: rename CONFIG_DS1722 to CONFIG_DTT_DS1722
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stefan Roese <sr@denx.de>
Michal Simek [Fri, 11 Jul 2008 09:50:53 +0000 (11:50 +0200)]
hwmon: Cleaning hwmon devices
Clean Makefile
Move device specific values to driver for better reading
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stefan Roese <sr@denx.de>
Michal Simek [Fri, 11 Jul 2008 08:43:13 +0000 (10:43 +0200)]
FIS: repare incorrect return value with ramdisk handling
Microblaze and PowerPC use boot_get_ramdisk for loading
ramdisk to memory with checking return value.
Return 0 means success. Return 1 means failed.
Here is correspond part of code from bootm.c which check
return code.
ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC,
&rd_data_start, &rd_data_end);
if (ret)
goto error;
Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek [Fri, 11 Jul 2008 08:10:32 +0000 (10:10 +0200)]
microblaze: Remove useless ancient headers
Signed-off-by: Michal Simek <monstr@monstr.eu>
Michal Simek [Fri, 11 Jul 2008 08:10:31 +0000 (10:10 +0200)]
microblaze: Clean uartlite driver
Redesign uartlite driver to in_be32 and out_be32 macros
Fix missing header in io.h
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Marcel Ziswiler [Fri, 11 Jul 2008 00:39:14 +0000 (02:39 +0200)]
Enable passing of ATAGs required by latest Linux kernel.
Hugo Villeneuve [Fri, 11 Jul 2008 14:24:15 +0000 (10:24 -0400)]
Fix integer overflow warning in calc_divisor()
which happened when rounding the serial port clock divisor
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Marcel Ziswiler [Thu, 10 Jul 2008 23:09:59 +0000 (01:09 +0200)]
Fix build time warnings in function mmc_decode_csd()
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Hugo Villeneuve [Thu, 10 Jul 2008 14:46:33 +0000 (10:46 -0400)]
ARM: Fix for broken compilation when defining CONFIG_CMD_ELF
caused by missing dcache status/enable/disable functions.
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Stefan Roese [Thu, 10 Jul 2008 11:53:31 +0000 (13:53 +0200)]
ppc4xx: Remove redundant ft_board_setup() functions from some 4xx boards
This patch removes some ft_board_setup() functions from some 4xx boards.
This can be done since we now have a default weak implementation for this
in cpu/ppc4xx/fdt.c. Only board in need for a different/custom
implementation like canyonlands need their own version.
Signed-off-by: Stefan Roese <sr@denx.de>
Wolfgang Denk [Sun, 13 Jul 2008 12:58:16 +0000 (14:58 +0200)]
Add last known maintainer for orphaned boards; reformat.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Haavard Skinnemoen [Thu, 10 Jul 2008 11:16:04 +0000 (13:16 +0200)]
Remove kharris@nexus-tech.net from MAINTAINERS
Mail to kharris@nexus-tech.net bounces because the user doesn't exist
anymore. You can't be a maintainer without a valid e-mail address, so
move all boards that used to be maintained by Kyle Harris to the
"orphaned" list.
Currently, only PowerPC has a list of orphaned boards, so this patch
creates one for ARM as well.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wolfgang Denk [Sun, 13 Jul 2008 12:45:06 +0000 (14:45 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Jul 2008 12:44:56 +0000 (14:44 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc512x
Wolfgang Denk [Sun, 13 Jul 2008 12:44:12 +0000 (14:44 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Jul 2008 12:44:04 +0000 (14:44 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-coldfire
Wolfgang Denk [Sun, 13 Jul 2008 12:43:57 +0000 (14:43 +0200)]
Merge branch 'master' of /home/wd/git/u-boot/custodians
Wolfgang Denk [Sun, 13 Jul 2008 12:42:55 +0000 (14:42 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
Anatolij Gustschin [Wed, 9 Jul 2008 23:15:10 +0000 (01:15 +0200)]
at91: Fix to enable using Teridian MII phy (78Q21x3) with at91sam9260
On the at91sam9260ep development board there is an EEPROM
connected to the TWI interface (PA23, PA24 Peripheral A
multiplexing), so we cannot use these pins as ETX2, ETX3.
This patch configures PA10, PA11 pins for ETX2, ETX3
instead of PA23, PA24 pins.
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Manuel Sahm <Manuel.Sahm@feig.de>
Wolfgang Denk [Sun, 13 Jul 2008 12:40:30 +0000 (14:40 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-at91
Kenneth Johansson [Sat, 12 Jul 2008 19:18:34 +0000 (13:18 -0600)]
fix DIU for small screens
The DIU_DIV register is 8 bit not 5 bit. This prevented large DIV values
so it was not possible to set a slow pixel clock and thus prevented
display on small screens.
Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
Acked-by: John Rigby <jrigby@freescale.com>
John Rigby [Fri, 11 Jul 2008 20:44:09 +0000 (14:44 -0600)]
ADS5121 cleanup compile warnings
board/ads5121/iopin.c
Replace bit fields in struct iopin_t with a single
field and intialize it via plain old macros.
This fixes the type pun warnings and makes the code
more readable.
board/ads5121/ads5121.c
Add include iopin.h to ads5121.c for the iopin_initialize
prototype.
Add an extern void ads5121_diu_init(void)
Signed-off-by: John Rigby <jrigby@freescale.com>
Wolfgang Denk [Fri, 11 Jul 2008 20:56:11 +0000 (22:56 +0200)]
Fix some more printf() format issues.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Fri, 11 Jul 2008 20:55:31 +0000 (22:55 +0200)]
Fixed some out-of-tree build issues
Signed-off-by: Wolfgang Denk <wd@denx.de>
TsiChung Liew [Wed, 9 Jul 2008 21:20:23 +0000 (16:20 -0500)]
ColdFire: Fix FB CS not setup properly for Mcf5282
Remove all CFG_CSn_RO in cpu/mcf52x2/cpu_init.c. If
CFG_CSn_RO is defined as 0, the chipselect will not
be assigned.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 9 Jul 2008 20:47:27 +0000 (15:47 -0500)]
ColdFire: Fix incorrect define for mcf5227x and mcf5445x RTC
Rename CONFIG_MCFTMR to CONFIG_MCFRTC to include real time
clock module in cpu/<cf arch>/cpu_init.c
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 9 Jul 2008 20:25:01 +0000 (15:25 -0500)]
ColdFire: Fix incorrect board name in MAKEALL for M5253EVBE
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 9 Jul 2008 20:21:44 +0000 (15:21 -0500)]
Fix compile error caused by missing timer function
Add #define CONFIG_MCFTMR in EB+MCF-EV123.h configuration file
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Wed, 9 Jul 2008 20:14:25 +0000 (15:14 -0500)]
Fix compile error caused by incorrect function return type
Rename int mii_init(void) to void mii_init(void)
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Thu, 19 Jun 2008 00:27:23 +0000 (19:27 -0500)]
ColdFire: Fix power up issue for MCF5235
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Thu, 19 Jun 2008 00:19:07 +0000 (19:19 -0500)]
ColdFire: Fix compiling error for MCF5275
The compiling error was caused by missing a closed parentheses
in speed.c
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Thu, 19 Jun 2008 00:14:01 +0000 (19:14 -0500)]
ColdFire: Fix timer issue for MCF5272
The timer was assigned to wrong timer memory mapped which
caused udelay() and timer() not working properly.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Thu, 19 Jun 2008 00:12:13 +0000 (19:12 -0500)]
ColdFire: Change invalid JMP to BRA caught by new v4e toolchain
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
TsiChung Liew [Thu, 19 Jun 2008 00:05:23 +0000 (19:05 -0500)]
ColdFire: Add -got=single param for new linux v4e toolchains
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
TsiChung Liew [Wed, 18 Jun 2008 18:21:19 +0000 (13:21 -0500)]
ColdFire: Fix code flash configuration for M547x/M548x boards
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
TsiChung Liew [Tue, 24 Jun 2008 17:12:16 +0000 (12:12 -0500)]
ColdFire: Fix warning messages by passing correct data type in board.c
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
TsiChung Liew [Thu, 29 May 2008 17:21:54 +0000 (12:21 -0500)]
ColdFire: Fix UART baudrate formula
The formula "counter = (u32) (gd->bus_clk / gd->baudrate) / 32"
can generate the wrong divisor due to integer division truncation.
Round the calculated divisor value by adding 1/2 the baudrate
before dividing by the baudrate.
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Stefan Roese [Thu, 10 Jul 2008 09:38:26 +0000 (11:38 +0200)]
ppc4xx: Fix include sequence in 4xx_pcie.c
This patch now moves common.h to the top of the inlcude list. This
is needed for boards with CONFIG_PHYS_64BIT set (e.g. katmai), so that
the phys_size_t/phys_addr_t are defined to the correct size in this
driver.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Fri, 11 Jul 2008 11:10:56 +0000 (13:10 +0200)]
ppc4xx: Fix compile warning in 44x_spd_ddr2.c
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Fri, 11 Jul 2008 09:40:13 +0000 (11:40 +0200)]
ppc4xx: Fix small korat merge problem
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Fri, 11 Jul 2008 09:34:52 +0000 (11:34 +0200)]
ppc4xx: Some Rewood cleanups (coding style, leading white spaces)
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 10 Jul 2008 14:37:09 +0000 (16:37 +0200)]
ppc4xx: Add 460SX UIC defines
Only the really needed ones are added (cascading and EMAC/MAL).
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Mon, 30 Jun 2008 12:11:07 +0000 (14:11 +0200)]
ppc4xx: Continue cleanup of ppc440.h
This patch continues the ppc440.h cleanup by removing some of the unused
defines.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Mon, 30 Jun 2008 12:05:05 +0000 (14:05 +0200)]
ppc4xx: Cleanup Katmai & Yucca PCIe register usage
This patch cleans up the 440SPe PCIe register usage. Now only defines
from the include/asm-ppc/4xx_pcie.h are used.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 26 Jun 2008 15:36:39 +0000 (17:36 +0200)]
ppc4xx: Rework 440GX UIC handling
This patch reworks the 440GX interrupt handling so that the common 4xx
code can be used. The 440GX is an exception to all other 4xx variants
by having the cascading interrupt vectors not on UIC0 but on a special
UIC named UICB0 (UIC Base 0). With this patch now, U-Boot references
the 440GX UICB0 when UIC0 is selected. And the common 4xx interrupt
handling is simpler without any 440GX special cases.
Also some additional cleanup to cpu/ppc4xx/interrupt.c is done.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 26 Jun 2008 11:40:57 +0000 (13:40 +0200)]
ppc4xx: Consolidate PPC4xx UIC defines
This 2nd patch now removes all UIC mask bit definition. They should be
generated from the vectors by using the UIC_MASK() macro from now on.
This way only the vectors need to get defined for new PPC's.
Also only the really used interrupt vectors are now defined. This makes
definitions for new PPC versions easier and less error prone.
Another part of this patch is that the 4xx emac driver got a little
cleanup, since now the usage of the interrupts is clearer.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Wed, 25 Jun 2008 08:59:22 +0000 (10:59 +0200)]
ppc4xx: Consolidate PPC4xx UIC defines
This patch is the first step to consolidate the UIC related defines in the
4xx headers. Move header from asm-ppc/ppc4xx-intvec.h to
asm-ppc/ppc4xx-uic.h as it will hold all UIC related defines in the next
steps.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Tue, 24 Jun 2008 15:18:50 +0000 (17:18 +0200)]
ppc4xx: Consolidate PPC4xx EBC defines
This patch removes all EBC related defines from the PPC4xx headers
ppc405.h and ppc440.h and introduces a new header
include/asm-ppc/ppc4xx-ebc.h
with all those defines.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 10 Jul 2008 11:52:44 +0000 (13:52 +0200)]
ppc4xx: Remove redundant ft_board_setup() functions from some 4xx boards
This patch removes some ft_board_setup() functions from some 4xx boards.
This can be done since we now have a default weak implementation for this
in cpu/ppc4xx/fdt.c. Only board in need for a different/custom
implementation like canyonlands need their own version.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 10 Jul 2008 13:32:32 +0000 (15:32 +0200)]
ppc4xx: Fix merge problems in 44x_spd_ddr2.c
Signed-off-by: Stefan Roese <sr@denx.de>
Grant Erickson [Tue, 8 Jul 2008 15:35:00 +0000 (08:35 -0700)]
ppc4xx: Add MII mode support to the EMAC RGMII Bridge
This patch adds support for placing the RGMII bridge on the
PPC405EX(r) into MII/GMII mode and allows a board-specific
configuration to specify the bridge mode at compile-time.
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Grant Erickson [Wed, 9 Jul 2008 23:46:35 +0000 (16:46 -0700)]
ppc4xx: Add Mnemonics for AMCC/IBM DDR2 SDRAM Controller
This patch completes the preprocessor mneomics for the IBM DDR2 SDRAM
controller registers (MODT and INITPLR) used by the
PowerPC405EX(r). The MMODE and MEMODE registers are unified with their
peer values used for the INITPLR MR and EMR registers,
respectively. Finally, a spelling typo is correct (MANUEL to MANUAL).
With these mnemonics in place, the CFG_SDRAM0_* magic numbers for
Kilauea are replaced by equivalent mnemonics to make it easier to
compare and contrast other 405EX(r)-based boards (e.g. during board
bring-up).
Finally, unified the SDRAM controller register dump routine such that
it can be used across all processor variants that utilize the IBM DDR2
SDRAM controller core. It produces output of the form:
PPC4xx IBM DDR2 Register Dump:
...
SDRAM_MB0CF[40] = 0x00006701
...
which is '<mnemonic>[<DCR #>] = <value>'. The DCR number is included
since it is not uncommon that the DCR values in header files get mixed
up and it helps to validate, at a glance, they match what is printed
in the user manual.
Tested on:
AMCC Kilauea/Haleakala:
- NFS Linux Boot: PASSED
- NAND Linux Boot: PASSED
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Grant Erickson [Wed, 9 Jul 2008 23:31:59 +0000 (16:31 -0700)]
ppc4xx: Add AMCC/IBM DDR2 SDRAM ECC Field Mnemonics
Add additional DDR2 SDRAM memory controller DCR mneomnics, condition
revision ID DCR based on 405EX, and add field mnemonics for bus error
status and ECC error status registers.
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Grant Erickson [Wed, 9 Jul 2008 23:31:36 +0000 (16:31 -0700)]
ppc4xx: Add SDR0_SRST Mnemonics for the 405EX(r)
This patch adds bit field mnemonics for the 405EX(r) SDR0_SRST soft reset register.
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Grant Erickson [Wed, 9 Jul 2008 18:55:46 +0000 (11:55 -0700)]
PPC4xx: Correct SDRAM_MCSTAT for PPC405EX(r)
While the PowerPC 405EX(r) shares in common the AMCC/IBM DDR2 SDRAM
controller core also used in the 440SP, 440SPe, 460EX, and 460GT, in
the 405EX(r), SDRAM_MCSTAT has a different DCR value.
Its present value on the 405EX(r) causes a read back of 0xFFFFFFFF
which causes SDRAM initialization to periodically fail since it can
prematurely indicate SDRAM ready status.
Signed-off-by: Grant Erickson <gerickson@nuovations.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Feng Kan [Wed, 9 Jul 2008 05:48:42 +0000 (22:48 -0700)]
ppc4xx: Initial framework of the AMCC PPC460SX redwood reference board.
Add AMCC Redwood reference board that uses the latest
PPC 464 CPU processor combined with a rich mix of peripheral
controllers. The board will support PCIe, mutiple Gig ethernet
ports, advanced hardware RAID assistance and IEEE 1588.
Signed-off-by: Feng Kan <fkan@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Feng Kan [Wed, 9 Jul 2008 05:48:07 +0000 (22:48 -0700)]
ppc4xx: Add initial 460SX reference board (redwood) config file and defines.
Signed-off-by: Feng Kan <fkan@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Feng Kan [Wed, 9 Jul 2008 05:47:31 +0000 (22:47 -0700)]
ppc4xx: Add initial 460SX defines for the cpu/ppc4xx directory.
Signed-off-by: Feng Kan <fkan@amcc.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Wolfgang Denk [Thu, 10 Jul 2008 23:16:00 +0000 (01:16 +0200)]
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Jean-Christophe PLAGNIOL-VILLARD [Thu, 10 Jul 2008 18:57:54 +0000 (20:57 +0200)]
MAKEALL: remove duplicated at91 from ARM9 list and add LIST_at91 to arm
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Sergey Lapin [Thu, 5 Jun 2008 07:06:29 +0000 (11:06 +0400)]
DataFlash AT45DB021 support
Some boards based on AT91SAM926X-EK use smaller DF chips to keep
bootstrap, u-boot and its environment, using NAND or other external
storage for kernel and rootfs. This patch adds support for
small 1024x263 chip.
Signed-off-by: Sergey Lapin <slapin@ossfans.org>
Kim Phillips [Thu, 10 Jul 2008 19:00:15 +0000 (14:00 -0500)]
silence misc printf formatting compiler warnings
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Wolfgang Denk [Thu, 10 Jul 2008 20:09:39 +0000 (22:09 +0200)]
Merge branch 'master' of git://git.denx.de/u-boot-mpc512x
Wolfgang Denk [Thu, 10 Jul 2008 19:53:51 +0000 (21:53 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-mpc86xx
Markus Klotzbücher [Thu, 10 Jul 2008 12:47:09 +0000 (14:47 +0200)]
USB: shutdown USB before booting
This patch fixes a potentially serious issue related to USB which was
discouvered by Martin Krause <martin.krause@tqs.de> and fixed for
ARM920T. Martin wrote:
Turn off USB to prevent the host controller from writing to the
SDRAM while Linux is booting. This could happen, because the HCCA
(Host Controller Communication Area) lies within the SDRAM and the
host controller writes continously to this area (as busmaster!), for
example to increase the HccaFrameNumber variable, which happens
every 1 ms.
This is a slightly modified version of the patch in order to shutdown
USB when booting on all architectures.
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
Martha Marx [Thu, 29 May 2008 18:23:25 +0000 (14:23 -0400)]
Configuration changes for ADS5121 Rev 3
ADS5121 Rev 3 board is now the default config
config targets are now
ads5121_config
Rev 3 board with
PCI
M41T62 on board RTC
512MB DRAM
ads5121_rev2_config
Rev 2 board with
No PCI
256MB DRAM
Signed-off-by: Martha Marx <mmarx@silicontkx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: John Rigby <jrigby@freescale.com>
Martha Marx [Thu, 29 May 2008 19:37:21 +0000 (15:37 -0400)]
Consolidate ADS5121 IO Pin configuration
Consolidate ADS5121 IO Pin configuration to one file
board/ads5121/iopin.c.
Remove pin config from cpu/mpc512x/fec.c
Signed-off-by: Martha Marx <mmarx@silicontkx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: John Rigby <jrigby@freescale.com>
Jon Loeliger [Thu, 10 Jul 2008 17:05:32 +0000 (12:05 -0500)]
Merge commit 'wd/master'
Christian Eggers [Fri, 27 Jun 2008 17:46:51 +0000 (19:46 +0200)]
Fix "usb part" command
Only print partition for selected device if user supplied the <dev>
arg with the "usb part [dev]" command.
Signed-off-by: Christian Eggers <ceggers@gmx.de>
Acked-by: Markus Klotzbuecher <mk@denx.de>
Harald Welte [Sun, 6 Jul 2008 16:58:05 +0000 (00:58 +0800)]
fix USB devices with multiple configurations
This patch fixes bugs in usbdcore*.c related to the use of devices
with multiple configurations.
The original code made mistakes about the meaning of configuration value and
configuration index, and the resulting off-by-one errors resulted in:
* SET_CONFIGURATION always selected the first configuration, no matter what
wValue is being passed.
* GET_DESCRIPTOR/CONFIGURATION always returned the descriptor for the first
configuration (index 0).
Signed-off-by: Harald Welte <laforge@openmoko.org>
Acked-by: Markus Klotzbuecher <mk@denx.de>
Wolfgang Denk [Thu, 10 Jul 2008 11:16:34 +0000 (13:16 +0200)]
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
Wolfgang Denk [Thu, 10 Jul 2008 11:16:09 +0000 (13:16 +0200)]
Fix some more print() format errors.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Christian Eggers [Fri, 27 Jun 2008 17:46:51 +0000 (19:46 +0200)]
Fix "usb part" command
Only print partition for selected device if user supplied the <dev>
arg with the "usb part [dev]" command.
Signed-off-by: Christian Eggers <ceggers@gmx.de>
Acked-by: Markus Klotzbuecher <mk@denx.de>
Harald Welte [Sun, 6 Jul 2008 16:58:05 +0000 (00:58 +0800)]
fix USB devices with multiple configurations
This patch fixes bugs in usbdcore*.c related to the use of devices
with multiple configurations.
The original code made mistakes about the meaning of configuration value and
configuration index, and the resulting off-by-one errors resulted in:
* SET_CONFIGURATION always selected the first configuration, no matter what
wValue is being passed.
* GET_DESCRIPTOR/CONFIGURATION always returned the descriptor for the first
configuration (index 0).
Signed-off-by: Harald Welte <laforge@openmoko.org>
Acked-by: Markus Klotzbuecher <mk@denx.de>
Wolfgang Denk [Thu, 10 Jul 2008 08:50:38 +0000 (10:50 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-ppc4xx
Stefan Roese [Thu, 10 Jul 2008 08:10:54 +0000 (10:10 +0200)]
MTD/NAND: Fix printf format warning in nand code
This patch fixes NAND related printf format warning. Those warnings are
now visible since patch
dc4b0b38d4aadf08826f6c31270f1eecd27964fd
[Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is
really helpful.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 10 Jul 2008 08:00:45 +0000 (10:00 +0200)]
rtc: Fix printf format warning in m41t60.c
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Tue, 8 Jul 2008 10:01:47 +0000 (12:01 +0200)]
pci: Move PCI device configuration check into a separate weak function
This patch moves the check, if a device should be skipped in PCI PNP
configuration into the function pci_skip_dev(). This function is defined
as weak so that it can be overwritten by a platform specific one if
needed. The check if the device should get printed in the PCI summary upon
bootup (when CONFIG_PCI_SCAN_SHOW is defined) is moved to the function
pci_print_dev() which is also defined as weak too.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 10 Jul 2008 07:58:06 +0000 (09:58 +0200)]
ppc4xx: Fix printf format warnings now visible with the updated format check
This patch fixes ppc4xx related printf format warning. Those warnings are
now visible since patch
dc4b0b38d4aadf08826f6c31270f1eecd27964fd
[Fix printf errors.] by Andrew Klossner has been applied. Thanks, this is
really helpful.
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Wed, 9 Jul 2008 15:33:57 +0000 (17:33 +0200)]
ppc4xx: Enable support for > 2GB SDRAM on AMCC Katmai
Newer PPC's like 440SPe, 460EX/GT can be equipped with more than 2GB of SDRAM.
To support such configurations, we "only" map the first 2GB via the TLB's. We
need some free virtual address space for the remaining peripherals like, SoC
devices, FLASH etc.
Note that ECC is currently not supported on configurations with more than 2GB
SDRAM. This is because we only map the first 2GB on such systems, and therefore
the ECC parity byte of the remaining area can't be written.
Signed-off-by: Stefan Roese <sr@denx.de>
Larry Johnson [Sat, 14 Jun 2008 21:02:49 +0000 (17:02 -0400)]
ppc4xx: Remove implementation of testdram() from Korat board support
Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Stefan Roese <sr@denx.de>
Larry Johnson [Sat, 14 Jun 2008 20:53:02 +0000 (16:53 -0400)]
ppc4xx: Update and add FDT to Korat board support
Signed-off-by: Larry Johnson <lrj@acm.org>
Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese [Thu, 10 Jul 2008 07:09:45 +0000 (09:09 +0200)]
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Wolfgang Denk [Wed, 9 Jul 2008 23:13:30 +0000 (01:13 +0200)]
Minor coding style cleanup; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
Wolfgang Denk [Wed, 9 Jul 2008 22:59:04 +0000 (00:59 +0200)]
Merge branch 'master' of git://denx.de/git/u-boot-nand-flash
Paul Gortmaker [Wed, 9 Jul 2008 21:50:45 +0000 (17:50 -0400)]
e1000: add support for 82545GM 64bit PCI-X copper variant
This PCI-X e1000 variant works by just adding in the correct
PCI IDs in the appropriate places.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Daniel Hellstrom [Wed, 9 Jul 2008 12:34:11 +0000 (12:34 +0000)]
SPARC: Build error fix
(introduced by commit
391fd93ab23e15ab3dd58a54f5b609024009c378)
This patch makes SPARC targets build again. It is caused by
phys_addr_t and phys_size_t being defined in the wrong header
file. include/lmb.h need those typedefs to build.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Marcel Ziswiler [Wed, 9 Jul 2008 06:17:15 +0000 (08:17 +0200)]
Many spelling fixes in README.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Marcel Ziswiler [Wed, 9 Jul 2008 06:17:06 +0000 (08:17 +0200)]
Minor spelling fix in comment.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Hugo Villeneuve [Tue, 8 Jul 2008 18:54:58 +0000 (14:54 -0400)]
Round the serial port clock divisor value returned by calc_divisor()
Round the serial port clock divisor value returned by
calc_divisor().
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Signed-off-by: John Roberts <john.roberts@pwav.com>
Scott Wood [Wed, 9 Jul 2008 22:47:52 +0000 (17:47 -0500)]
NAND: ifdef-protect most of nand.h when using legacy NAND.
Some macros such as NAND_CTL_SETALE conflict between current and legacy
NAND, being defined by the subsystem in the former case and the board
config file in the latter.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Hugo Villeneuve [Tue, 8 Jul 2008 15:02:05 +0000 (11:02 -0400)]
ARM: Fix for wrong patch version applied for Lyrtech SFF-SDR board (ARM926EJS)
ARM: Fix for incorrect version of patch applied when
adding support for the Lyrtech SFF-SDR board.
Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Signed-off-by: Philip Balister, OpenSDR <philip@opensdr.com>
Kyungmin Park [Tue, 8 Jul 2008 00:08:40 +0000 (09:08 +0900)]
Remove useless print message at apollon
Remove useless print message at apollon
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Andy Fleming [Mon, 7 Jul 2008 19:24:39 +0000 (14:24 -0500)]
Fix LMB type issues
The LMB code now uses phys_addr_t and phys_size_t. Also, there were a couple
of casting problems in the bootm code that called the LMB functions.
Signed-off-by: Andy Fleming <afleming@freescale.com>