aboutsummaryrefslogtreecommitdiff
path: root/cpu
AgeCommit message (Collapse)AuthorFilesLines
2007-07-04Consolidate mpc8220 linker scriptsGrant Likely2-0/+128
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04Consolidate mpc5xxx linker scriptsGrant Likely3-0/+264
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04Consolidate mpc5xx linker scriptsGrant Likely2-0/+143
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04Fix a few file permission problems.Wolfgang Denk4-0/+0
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-07-04cpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger23-45/+45
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-04cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger28-95/+96
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-03Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk4-10/+10
2007-06-25Merge with git://www.denx.de/git/u-boot.gitStefan Roese5-8/+10
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 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 Denk5-8/+8
2007-06-22Extend POST support for PPC440Igor Lisitsin1-0/+2
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 Jaworowski11-21/+20
- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
2007-06-20Coding style cleanup. Refresh CHANGELOG.Wolfgang Denk2-138/+137
2007-06-20Merge with git://www.denx.de/git/u-boot.gitStefan Roese1-1/+1
2007-06-19[ppc4xx] Fix problem with NAND booting on AMCC AcadiaStefan Roese1-3/+3
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-15Merge with /home/stefan/git/u-boot/denx-440-exceptionsStefan Roese3-204/+242
2007-06-15ppc4xx: Clean up 440 exceptions handlingGrzegorz Bernacki3-204/+242
- 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] Extend 44x GPIO setup with default output stateStefan Roese1-0/+38
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-08Fix config problems on SC3 board; make ide_reset_timeout work.Wolfgang Denk1-1/+1
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-06Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk1-2/+0
2007-06-06Merge with /home/wd/git/u-boot/custodian/u-boot-armWolfgang Denk7-0/+765
2007-06-06ppc4xx: Add NAND booting support for AMCC Acadia (405EZ) eval boardStefan Roese1-17/+55
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 Loeliger1-2/+0
2007-06-05mpc8641 image size cleanupEd Swarthout1-2/+0
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-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-01Merge with /home/stefan/git/u-boot/bamboo-nandStefan Roese3-287/+349
2007-06-01ppc4xx: Add NAND booting support for AMCC Bamboo (440EP) eval boardStefan Roese1-92/+129
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 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>
2007-06-01ppc4xx: 44x DDR driver code cleanup and small fix for BambooStefan Roese1-175/+166
Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese1-1/+6
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>
2007-05-28Merge with /home/tur/git/u-boot#motionproWolfgang Denk2-8/+4
2007-05-27MPC5XXX, Motion-PRO: Fix PHY initialization problem.Bartlomiej Sieka1-4/+0
After being reset in mpc5xxx_fec_init_phy(), PHY goes into FX mode, in which networking does not function. This commit switches PHY to TX mode by clearing the FX_SEL bit of Mode Control Register. It also reverses commit 008861a2f3ef2c062744d733787c7e530a1b8761, i.e., a temporary workaround. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-27MPC5xxx: Change names of defines related to IPB and PCI clocks.Bartlomiej Sieka1-4/+4
Both CFG_PCISPEED_66 and CFG_IPBSPEED_133 are misnamed, as defining them does not cause PCI or IPB clocks to run at the specified speed. Instead, they configure divisors used to calculate said clocks. This patch renames the defines according to their real function. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
2007-05-22ppc4xx: Add 405 support to 4xx NAND driver ndfc.cStefan Roese1-4/+4
This patch adds support for 405 PPC's to the 4xx NAND driver ndfc.c. This is in preparation for the new AMCC 405EZ. Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-21ppc4xx: Fix problem in 405EZ OCM initializationStefan Roese1-1/+1
As spotted by Bruce Adler this patch fixes an initialization problem for the 405EZ OCM. Signed-off-by: Stefan Roese <sr@denx.de>
2007-05-18Merge with git://www.denx.de/git/u-boot.gitPeter Pearse17-279/+378
2007-05-17Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECxKim Phillips3-9/+9
For all practical u-boot purposes, TSECs don't differ throughout the mpc8[356]xx families; reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-05-17Merge with /home/git/u-bootWolfgang Denk16-279/+367
2007-05-16Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xxWolfgang Denk5-43/+279
2007-05-16Merge with /home/wd/git/u-boot/custodian/u-boot-microblazeWolfgang Denk11-236/+88
2007-05-15Fixes bug clearing the bss section for i386mushtaq khan1-1/+1
Hi, There is a bug in the code of clearing the bss section for processor i386.(File: cpu/i386/start.S) In the code, bss_start addr (starting addr of bss section) is put into the register %eax, but the code which clears the bss section refers to the addr pointed by %edi. This patch fixes this bug by putting bss_start into %edi register. Signed-off-by: Mushtaq Khan <mushtaq_k@procsys.com>
2007-05-15Merge with /home/tur/git/u-boot#motionproWolfgang Denk1-0/+11
2007-05-09Add the files for the SMN42 boardPeter Pearse7-0/+765
2007-05-08add: reading special purpose registersMichal Simek1-2/+2
2007-05-08add: Microblaze V5 exception handlingMichal Simek1-2/+8