summaryrefslogtreecommitdiff
path: root/board/esd
Commit message (Collapse)AuthorAgeLines
* Big white-space cleanup.Wolfgang Denk2008-05-21-276/+275
| | | | | | | | | | | This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix config files for out-of-tree buildingWolfgang Denk2008-05-14-1/+1
| | | | | | | | | | | | | | | Several board/<...>/config.mk files include dynamically built (by the Makefile) config files but used the wrong file name of $(TOPDIR)/board/$(BOARDDIR)/config.tmp instead if the correct $(OBJTREE)/board/$(BOARDDIR)/config.tmp The bug is nasty because the build result is correct for the (normal) in-tree builds, and because 'sinclude' is used no errors get raised even for out-of-tree build tests. But out-of-tree builds use an incomplete and thus usually incorrect configuration... Signed-off-by: Wolfgang Denk <wd@denx.de>
* ppc4xx: Add bootcount limit handling for APC405 boardsMatthias Fuchs2008-04-25-1/+6
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Small coding style cleanup for the latest esd patchesStefan Roese2008-04-22-1/+0
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Update CPU strapping for PMC440 boardsMatthias Fuchs2008-04-22-12/+1
| | | | | | | | This patch removes the temporary 'test' strapping option of the sbe command. The '667' strapping option now uses a PLB/PCI divider of 3. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Remove unused APC405 strataflash driverMatthias Fuchs2008-04-22-789/+0
| | | | | | | The APC405 board support has been migrated to use the common CFI flash driver. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Update APC405 board supportMatthias Fuchs2008-04-22-123/+241
| | | | | | | | | - enable esd's auto_update mechanism - fix LCD support on latest hardware revision (uses other LCD controller) - support alternative flash layout on rev. 1.8 boards - coding style cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: update esd's common auto_update code for 405 boardsMatthias Fuchs2008-04-22-117/+106
| | | | | | | | - Coding style cleanup (long lines) - improve handling of protected flash regions - remove dead code Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Update esd's common LCD code for 405 boardsMatthias Fuchs2008-04-22-38/+151
| | | | | | | | - Coding style cleanup (long lines) - Add s1d13505 support - Make some functions return a result code instead of void Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Update FPGA image for APC405 boardsMatthias Fuchs2008-04-22-2280/+2004
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Update bootlogo for APC405 boardsMatthias Fuchs2008-04-22-235/+565
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Remove all the search paths from the .lds files.Jason Wessel2008-04-17-26/+0
| | | | | | | The cross compiler is responsible for providing the correct libraries and the logic to find the linking libraries. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
* ppc4xx: Small whitespace fix of esd patchesStefan Roese2008-03-31-6/+6
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Cleanup PMC440 board supportMatthias Fuchs2008-03-31-148/+132
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Add ptm configuration variables for PMC440Matthias Fuchs2008-03-31-32/+54
| | | | | | | | | Add support for the ptm1la, ptm1ms, ptm2la and ptm2ms environment variables. Cleanup pci_target_init. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Minor updates for DU440 boardsMatthias Fuchs2008-03-31-2/+4
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Merge branch 'master' of git://www.denx.de/git/u-boot into new-imageMarian Balakowicz2008-03-12-176/+167
|\
| * esd/common/fpga.c: fix indentation.Wolfgang Denk2008-03-09-177/+167
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * esd/common/fpga.c: fix 'assignment of read-only location' errorWolfgang Denk2008-03-09-3/+4
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from ↵Jean-Christophe PLAGNIOL-VILLARD2008-03-08-1/+1
| | | | | | | | | | | | pointer target type Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | [new uImage] Update naming convention for bootm/uImage related codeMarian Balakowicz2008-02-29-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the following prefix convention for the image format handling and bootm related code: genimg_ - dual format shared code image_ - legacy uImage format specific code fit_ - new uImage format specific code boot_ - booting process related code Related routines are renamed and a few pieces of code are moved around and re-grouped. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* | [new uImage] Add dual format uImage support frameworkMarian Balakowicz2008-02-25-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds framework for dual format images. Format detection is added and the bootm controll flow is updated to include cases for new FIT format uImages. When the legacy (image_header based) format is detected appropriate legacy specific handling is invoked. For the new (FIT based) format uImages dual boot framework has a minial support, that will only print out a corresponding debug messages. Implementation of the FIT specific handling will be added in following patches. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* | [new uImage] Define a API for image handling operationsMarian Balakowicz2008-02-07-40/+33
|/ | | | | | | | | - Add inline helper macros for basic header processing - Move common non inline code common/image.c - Replace direct header access with the API routines - Rename IH_CPU_* to IH_ARCH_* Signed-off-by: Marian Balakowicz <m8@semihalf.com>
* ppc4xx: Add DU440 board supportMatthias Fuchs2008-01-17-0/+1374
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* PMC440 board: fix board Makefile for out-of-tree buildingWolfgang Denk2008-01-13-0/+3
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWolfgang Denk2008-01-12-25/+25
| | | | | | | | | | | | | | | | | | | With recent toolchain versions, some boards would not build because or errors like this one (here for ocotea board when building with ELDK 4.2 beta): ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab] For many boards, the .bss section is big enough that it wraps around at the end of the address space (0xFFFFFFFF), so the problem will not be visible unless you use a 64 bit tool chain for development. On some boards however, changes to the code size (due to different optimizations) we bail out with section overlaps like above. The fix is to add the NOLOAD attribute to the .bss and .sbss sections, telling the linker that .bss does not consume any space in the image. Signed-off-by: Wolfgang Denk <wd@denx.de>
* ppx4xx: Fix sdram init on PMC440 boardsMatthias Fuchs2008-01-11-0/+7
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Update PLB/PCI divider for PMC440 boardMatthias Fuchs2008-01-09-2/+2
| | | | | | | This patch updates the PLB/PCI divider when running at 400MHz CPU frequency from 4 to 3 which results in 44MHz PCI sync clock. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Remove sdram.h from PMC440 boardMatthias Fuchs2008-01-04-505/+0
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: use common denali core defines and data eye search code for PMC440Matthias Fuchs2008-01-04-338/+4
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: More cleanup for esd's LCD codeMatthias Fuchs2008-01-04-20/+18
| | | | Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Coding style cleanupStefan Roese2007-12-28-17/+11
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Add FPGA support and BSP commands for PMC440 boardsMatthias Fuchs2007-12-28-0/+1066
| | | | | | | This patch adds some BSP commands and FPGA booting support for esd's PMC440 boards. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Add initial esd PMC440 board filesMatthias Fuchs2007-12-28-0/+2497
| | | | | | | This patch adds the first files for the new esd PMC440 boards. The next two patches will complete the PMC440 board support. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Add EEPROM write protection for PLU405 boards + misc. updatesMatthias Fuchs2007-12-28-6/+89
| | | | | | | | | - add EEPROM write protection for esd PLU405 boards. - initialize NAND GPIOs - use correct io accessors - cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: use correct io accessors for esd's LCD codeMatthias Fuchs2007-12-28-7/+8
| | | | | | | This patch fixes esd's LCD dectection code to work correctly with newer gcc versions. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Maintenance patch for VOH405 boardsMatthias Fuchs2007-12-28-19/+116
| | | | | | | | | | | - add EEPROM write protection - initialize NAND GPIOs - use correct io accessors - slow down I2C clock to 100kHz - enable ext. I2C bus - cleanup Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* Remove CPCI440 boardMatthias Fuchs2007-12-27-1259/+0
| | | | | | | This board never left prototyping state and it became a millstone round my neck. So remove it. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
* ppc4xx: Rework of 4xx serial driver (3)Stefan Roese2007-10-31-1/+1
| | | | | | Change all linker scripts to reference the changed driver name iop480_uart.o. Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Rework of 4xx serial driver (2)Stefan Roese2007-10-31-20/+20
| | | | | | | | | | Change all linker scripts to reference the changed driver name 4xx_uart.o. Note: In most cased all these explicit referencing of these object files in the linker scripts is not neccessary. Only for manually embedded environment into the U-Boot image, which is not done is most cases. Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Fix small merge problems with CPCI440 and Acadia boardsStefan Roese2007-10-31-1/+1
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Rename 405gp_pci to 4xx_pci since its used on all 4xx platformsStefan Roese2007-10-31-3/+3
| | | | | | | | These files were introduced with the IBM 405GP but are currently used on all 4xx PPC platforms. So the name doesn't match the content anymore. This patch renames the files to 4xx_pci.c/h. Signed-off-by: Stefan Roese <sr@denx.de>
* Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-16-233/+231
|\
| * Merge with /home/wd/git/u-boot/custodian/u-boot-nand-flashWolfgang Denk2007-08-16-229/+144
| |\
| | * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-1602/+1227
| | |\
| | * | Small coding style cleanupStefan Roese2007-07-09-2/+0
| | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * | Migrate esd 405EP boards to new NAND subsystemMatthias Fuchs2007-07-09-225/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate esd 405EP boards to new NAND subsystem -cleanup -use correct io accessors (in/out_be32()) Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| | * | Migrate esd 405EP boards to new NAND subsystemMatthias Fuchs2007-07-09-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch prepares the migration from the legacy NAND driver to U-Boot's new NAND subsystem for esd boards. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| * | | ppc7xx: Update CPCI750 boardStefan Roese2007-08-16-4/+87
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This small CPCI750 update extends the board specific command "show_config" to display the Marvell strapping registers and extends the PCI IDE controller. Signed-off-by: Reinhard Arlt <reinhard.arlt@esd-electronics.com> Signed-off-by: Stefan Roese <sr@denx.de>
* | | ppc4xx: Remove #warning in esd auto_update.cStefan Roese2007-08-16-4/+0
|/ / | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>