aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-07-04common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger21-50/+51
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04Introduce initial versions of new Command Config files.Jon Loeliger4-27/+165
Derive three new files from cmd_confdefs.h: config_bootp.h - Has BOOTP related config options, not commands config_cmd_all.h - Has a CONFIG_CMD_* definition for every command config_cmd_default.h - Has a CONFIG_CMD_* definition for default cmds. For now, include "config_bootp.h" for compatability until all users of it directly include it properly. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-03Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk39-178/+1293
2007-06-30Fix S-ATA support.Mushtaq Khan2-12/+12
Signed-off-by: mushtaq khan <mushtaqk_921@yahoo.co.in>
2007-06-25Merge with git://www.denx.de/git/u-boot.gitStefan Roese45-204/+888
2007-06-25ppc4xx: PPC440EPx Emit DDR0 registers on machine check interruptNiklaus Giger1-1/+86
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 Giger1-1/+1
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 Roese38-77/+46
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 Fuchs5-21/+76
-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 Fuchs1-8/+22
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 Denk33-128/+167
2007-06-22Adapt log buffer code to support Linux 2.6Igor Lisitsin2-46/+96
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 Lisitsin14-30/+625
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 Roese1-0/+8
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 Jaworowski23-26/+34
- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
2007-06-20Coding style cleanup. Refresh CHANGELOG.Wolfgang Denk7-181/+339
2007-06-20Merge with git://www.denx.de/git/u-boot.gitStefan Roese10-16/+52
2007-06-19ppc4xx: Add bootstrap command for AMCC Sequoia (440EPx) eval boardStefan Roese2-1/+112
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 Roese8-11/+34
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 Roese1-0/+0
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-18Merge with /home/wd/git/u-boot/masterWolfgang Denk2-3/+38
2007-06-15[ppc4xx] Change lwmon5 port to work with recent 440 exception reworkStefan Roese1-0/+1
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 Roese21-267/+319
2007-06-15ppc4xx: Clean up 440 exceptions handlingGrzegorz Bernacki21-267/+319
- 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 Roese12-10/+2346
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 Roese3-68/+108
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 Roese3-37/+48
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 Zundel3-4/+4
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 Zundel1-1/+1
Signed-off-by: Detlev Zundel <dzu@denx.de>
2007-06-08TQM5200: Add Flat Device Tree support, update default env. accordingly.Bartlomiej Sieka2-3/+38
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 Denk4-8/+9
2007-06-08[PATCH] fix gpio setting when using CFG_440_GPIO_TABLEBenoît Monin1-2/+2
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 Denk9-24/+505
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-06-06Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk7-29/+25
2007-06-06Merge with /home/wd/git/u-boot/custodian/u-boot-armWolfgang Denk29-346/+1556
2007-06-06Merge with /home/stefan/git/u-boot/acadia-nand-bootStefan Roese14-70/+685
2007-06-06ppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval boardStefan Roese14-70/+685
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 Loeliger6-29/+21
2007-06-05mpc8641 image size cleanupEd Swarthout6-29/+21
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 Denk26-646/+1250
2007-06-04[PATCH] Fix ppc4xx bootstrap letter displayed on startupBenoît Monin1-1/+7
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 Roese1-0/+137
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01Merge with /home/stefan/git/u-boot/bamboo-nandStefan Roese21-637/+1098
2007-06-01ppc4xx: Undo Sequoia patch for dynamic EBC speed support of 83MHzStefan Roese1-6/+0
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 Roese3-8/+20
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Add NAND booting support for AMCC Bamboo (440EP) eval boardStefan Roese8-119/+536
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 Roese1-39/+56
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 Roese5-109/+119
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 Roese1-34/+55
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01NAND: Add hardware ECC support to the PPC4xx NAND driver ndfc.cStefan Roese1-20/+54
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>