summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-06-25Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-06-25ppc4xx: PPC440EPx Emit DDR0 registers on machine check interruptNiklaus Giger
This patch prints the DDR status registers upon machine check interrupt on the 440EPx/GRx. This can be useful especially when ECC support is enabled. I added some small changes to the original patch from Niklaus to make it compile clean. Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com> Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-25ppc4xx: Fix O=buildir buildsNiklaus Giger
This patch fixes the problem to assemble cpu/ppc4xx/start.S experienced last week where building failed having specified O=../build.sequoia. Signed-off-by: Niklaus Giger <niklaus.giger@nestal.com>
2007-06-25ppc4xx: Add pci_pre_init() for 405 boardsStefan Roese
This patch removes the CFG_PCI_PRE_INIT option completely, since it's not needed anymore with the patch from Matthias Fuchs with the "weak" pci_pre_init() implementation. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-25ppc4xx: Maintenance patch for esd's CPCI405 derivatsMatthias Fuchs
-add pci_pre_init() for pci interrupt fixup code -disable phy sleep mode via reset_phy() function -use correct io accessors -cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2007-06-25ppc4xx: Add pci_pre_init() for 405 boardsMatthias Fuchs
This patch adds support for calling a plattform dependant pci_pre_init() function for 405 boards. This can be used to move the current pci_405gp_fixup_irq() function into the board code. This patch also makes the CFG_PCI_PRE_INIT define obsolete. A default function with 'weak' attribute is used when a board specific pci_pre_init() is not implemented. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2007-06-22Coding stylke cleanup; rebuild CHANGELOGWolfgang Denk
2007-06-22Adapt log buffer code to support Linux 2.6Igor Lisitsin
A new environment variable, "logversion", selects the log buffer behaviour. If it is not set or set to a value other than 2, then the old, Linux 2.4.4, behaviour is selected. Signed-off-by: Igor Lisitsin <igor@emcraft.com> --
2007-06-22Extend POST support for PPC440Igor Lisitsin
Added memory, CPU, UART, I2C and SPR POST tests for PPC440. Signed-off-by: Igor Lisitsin <igor@emcraft.com> --
2007-06-22ppc4xx: Fix problem with extended program_tlb() funtionStefan Roese
The recently extended program_tlb() function had a problem when multiple TLB's had to be setup (for example with 512MB of SDRAM). The virtual address was not incremented. This patch fixes this issue and is tested on Katmai with 512MB SDRAM. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-22[ppc] Fix build breakage for all non-4xx PowerPC variants.Rafal Jaworowski
- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
2007-06-20Coding style cleanup. Refresh CHANGELOG.Wolfgang Denk
2007-06-20Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-06-19ppc4xx: Add bootstrap command for AMCC Sequoia (440EPx) eval boardStefan Roese
This patch adds a board command to configure the I2C bootstrap EEPROM values. Right now 533 and 667MHz are supported for booting either via NOR or NAND FLASH. Here the usage: => bootstrap 533 nor ;to configure the board for 533MHz NOR booting => bootstrap 667 nand ;to configure the board for 667MHz NNAND booting Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-19[ppc4xx] Fix problem with NAND booting on AMCC AcadiaStefan Roese
The latest changes showed a problem with the location of the NAND-SPL image in the OCM and the init-data area (incl. cache). This patch fixes this problem. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-19[ppc4xx] Change board/amcc/acadia/cpr.c to pll.cStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-18Merge with /home/wd/git/u-boot/masterWolfgang Denk
2007-06-15[ppc4xx] Change lwmon5 port to work with recent 440 exception reworkStefan Roese
Now CONFIG_440 has to be defined in all PPC440 board config files. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-15Merge with /home/stefan/git/u-boot/denx-440-exceptionsStefan Roese
2007-06-15ppc4xx: Clean up 440 exceptions handlingGrzegorz Bernacki
- Introduced dedicated switches for building 440 and 405 images required for 440-specific machine instructions like 'rfmci' etc. - Exception vectors moved to the proper location (_start moved away from the critical exception handler space, which it occupied) - CriticalInput now serviced (with default handler) - MachineCheck properly serviced (added a dedicated handler and return subroutine) - Overall cleanup of exceptions declared with STD_EXCEPTION macro (unused, unhandled and those not relevant for 4xx were eliminated) - Eliminated Linux leftovers, removed dead code Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Signed-off-by: Rafal Jaworowski <raj@semihalf.com> Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-15[ppc4xx] Add initial lwmon5 board supportStefan Roese
This patch adds initial support for the Liebherr lwmon5 board euqipped with an AMCC 440EPx PowerPC. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-15[ppc4xx] Extend 44x GPIO setup with default output stateStefan Roese
The board config array CFG_440_GPIO_TABLE for the ppc440 GPIO setup is extended with the default GPIO output state (level). Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-14[ppc4xx] Extend program_tlb() with virtual & physical addressesStefan Roese
Now program_tlb() allows to program a TLB (or multiple) with different virtual and physical addresses. With this change, now one physical region (e.g. SDRAM) can be mapped 2 times, once with caches diabled and once with caches enabled. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-12Change 'repeatable' attribute of some commands to sensible values.Detlev Zundel
Most prominently this changes 'erase' to be non-repeatable. Signed-off-by: Detlev Zundel <dzu@denx.de>
2007-06-12Fix 'run' not to continue after interrupted commandDetlev Zundel
Signed-off-by: Detlev Zundel <dzu@denx.de>
2007-06-08TQM5200: Add Flat Device Tree support, update default env. accordingly.Bartlomiej Sieka
Signed-off-by: Jan Wrobel <wrr@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-06-08Fix config problems on SC3 board; make ide_reset_timeout work.Wolfgang Denk
2007-06-08[PATCH] fix gpio setting when using CFG_440_GPIO_TABLEBenoît Monin
Set the correct value in GPIOx_TCR when configuring the gpio with CFG_440_GPIO_TABLE. Signed-off-by: Benoit Monin <bmonin@adeneo.eu> Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-06Coding Style cleanup; generate new CHANGELOG file.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-06-06Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk
2007-06-06Merge with /home/wd/git/u-boot/custodian/u-boot-armWolfgang Denk
2007-06-06Merge with /home/stefan/git/u-boot/acadia-nand-bootStefan Roese
2007-06-06ppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval boardStefan Roese
This patch adds NAND booting support for the AMCC Acadia eval board. Please make sure to configure jumper J7 to position 2-3 when booting from NOR, and to position 1-2 when booting for NAND. I also added a board command to configure the I2C bootstrap EEPROM values. Right now only 267MHz is support for booting either via NOR or NAND FLASH. Here the usage: => bootstrap 267 nor ;to configure the board for 267MHz NOR booting => bootstrap 267 nand ;to configure the board for 267MHz NNAND booting Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-05Merge branch 'mpc8641'Jon Loeliger
2007-06-05mpc8641 image size cleanupEd Swarthout
e600 does not have a bootpg restriction. Move the version string to beginning of image at fff00000. Resetvec.S is not needed. Update flash copy instructions. Add tftpflash env variable Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-06-04Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk
2007-06-04[PATCH] Fix ppc4xx bootstrap letter displayed on startupBenoît Monin
The attached patch is mainly cosmetic, allowing u-boot to display the correct bootstrap option letter according to the datasheets. The original patch was extended with 405EZ support by Stefan Roese. Signed-off-by: Benoit Monin <bmonin@adeneo.eu> Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Add missing file for Bamboo NAND booting supportStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01Merge with /home/stefan/git/u-boot/bamboo-nandStefan Roese
2007-06-01ppc4xx: Undo Sequoia patch for dynamic EBC speed support of 83MHzStefan Roese
This patch undoes the patch by Jeff Mann with commit-id ada4697d. As suggested by AMCC it is not recommended to dynamically change the EBC speed after bootup. So we undo this change to be on the safe side. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Update Sequoia NAND booting support with ECCStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Add NAND booting support for AMCC Bamboo (440EP) eval boardStefan Roese
This patch adds NAND booting support for the AMCC Bamboo eval board. Since the NAND-SPL boot image is limited to 4kbytes, this version only supports the onboard 64MBytes of DDR. The DIMM modules can't be supported, since the setup code for I2C DIMM autodetection and configuration is too big for this NAND bootloader. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01NAND: Add ECC support to NAND booting support in nand_spl/nand_boot.cStefan Roese
The U-Boot NAND booting support is now extended to support ECC upon loading of the NAND U-Boot image. Tested on AMCC Sequoia (440EPx) and Bamboo (440EP). Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Prepare Bamboo port for NAND booting supportStefan Roese
This patch updates the "normal" Bamboo NOR booting port, so that it is compatible with the coming soon NAND booting Bamboo port. It also enables the 2nd NAND flash on the Bamboo. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Update in_be32() functions and friends to latest Linux versionStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01NAND: Add hardware ECC support to the PPC4xx NAND driver ndfc.cStefan Roese
This patch adds hardware ECC support to the NDFC driver. It also changes the register access from using the "simple" in32/out32 functions to the in_be32/out_be32 functions, which make sure that the access is correctly synced. This is the only recommended access to SoC registers in the current Linux kernel. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01NAND: Update nand_ecc.c to latest Linux versionStefan Roese
This patch updates the nand_ecc code to the latest Linux version. The main reason for this is the more compact code. This makes it possible to include the ECC code into the NAND bootloader image (NAND_SPL) for PPC4xx. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: 44x DDR driver code cleanup and small fix for BambooStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Change Luan config file to support ECCStefan Roese
With the updated 44x DDR2 driver the Luan board now supports ECC generation and checking. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese
Add config option for 180 degree advance clock control as needed for the AMCC Luan eval board. Signed-off-by: Stefan Roese <sr@denx.de>