summaryrefslogtreecommitdiff
path: root/board/netstal
Commit message (Collapse)AuthorAgeLines
* ppc4xx: Remove superfluous dram_init() call or replace it by initdram()Stefan Roese2008-06-03-42/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Historically the 405 U-Boot port had a dram_init() call in early init stage. This function was still called from start.S and most of the time coded in assembler. This is not needed anymore (since a long time) and boards should implement the common initdram() function in C instead. This patch now removed the dram_init() call from start.S and removes the empty implementations that are scattered through most of the 405 board ports. Some older board ports really implement this dram_init() though. These are: csb272 csb472 ERIC EXBITGEN W7OLMC W7OLMG I changed those boards to call this assembler dram_init() function now from their board specific initdram() instead. This *should* work, but please test again on those platforms. And it is perhaps a good idea that those boards use some common 405 SDRAM initialization code from cpu/ppc4xx at some time. So further patches welcome here. Signed-off-by: Stefan Roese <sr@denx.de>
* Big white-space cleanup.Wolfgang Denk2008-05-21-16/+16
| | | | | | | | | | | 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>
* ppc4xx: Complete remove bogus dflush()Stefan Roese2008-04-29-3/+3
| | | | | | | | | | Since the current dflush() implementation is know to have some problems (as seem on lwmon5 ECC init) this patch removes it completely and replaces it by using clean_dcache_range(). Tested on Katmai with ECC DIMM. Signed-off-by: Stefan Roese <sr@denx.de>
* Remove all the search paths from the .lds files.Jason Wessel2008-04-17-3/+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>
* Conding style cleanupWolfgang Denk2008-03-16-7/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ppc4xx: program_tlb now uses 64bit physical addessStefan Roese2008-03-15-2/+0
| | | | | | | | This patch changes the physical addess parameter from 32bit to 64bit. This is needed for 36bit 4xx platforms to access areas located beyond the 4GB border, like SoC peripherals (EBC etc.). Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Add 405GPr based MCU25 board specific filesNiklaus Giger2008-03-15-0/+499
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: HCU4/5. remove obsolete hcu_flash.cNiklaus Giger2008-03-15-514/+0
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: HCU4/5. Use FLASH_CFI_LEGACYNiklaus Giger2008-03-15-2/+34
| | | | | | | Cleanup: Remove custom flash driver for 8 bit boot-eprom and replace it with the FLASH_CFI_LEGACY et al. config options. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Coding style cleanup. Prepare v1.3.2-rc2 release candidateWolfgang Denk2008-02-24-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ppc4xx: HCU4/5. CleanupsNiklaus Giger2008-02-16-81/+70
| | | | | | | | | | | - Fix some coding style violations. - Use in/out_u16/32 where appropriate. - Use register names from ppc405.h. - Fix trace useage for Lauterbach. - Remove obsolete generation HCU2. - Renamed fixed_hcu4_sdram to init_ppc405_sdram. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: HCU4/5. Fix make O=../xxNiklaus Giger2008-02-14-14/+8
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Coding Style Cleanup; update CHANGELOGWolfgang Denk2008-01-23-1/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ppc4xx: Fix compilation warnings and coding style issues in HCU4/HCU5Stefan Roese2008-01-17-19/+16
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Netstal HCU4 board: added various fixes and POSTNiklaus Giger2008-01-17-267/+77
| | | | | | | | | - Moved some common code to netstal/common/nm_bsp.c. - sdram initialisation goes go netstal/common/fixed_sdram.c. - Added support for POST. - Stylistic cleanups (multi-line comments/ enforce 80 colomn width) Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: netstal/common define routines used by all boardsNiklaus Giger2008-01-17-16/+255
| | | | | | | | | | | | | Added some routines used by all Netstal boards: - nm_bsp.c: - nm_show_print and - common_misc_init_r - set_params_for_sw_install. Very specific code to handle our SW installation procedure - fixed_sdram.c: Common routines for HCU4 (and upcoming) MCU25 boards to handle sdram initialization. - nm.h: Common header Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: Netstal HCU5 board: added various fixes and POSTNiklaus Giger2008-01-17-236/+206
| | | | | | | | | | - Moved some common code to nestal/common/nm_bsp.c. - Added support for the vxWorks EDR. - Enable trace for Lauterbach, if present. - Added support for POST. - Stylistic cleanups (multi-line comments/ enforce 80 colomn width) Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: Netstal HCU5 board. Added POST. Various fixesNiklaus Giger2008-01-17-2/+2
| | | | | | | | | | - Various fixes - Reduced rom_size from 384 to 320 kB - Environment is now in flash - Added POST - Support for OF Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: Netstal HCU4 board. Added POST. Various fixesNiklaus Giger2008-01-17-1/+1
| | | | | | | | | | - Various fixes - Reduced rom_size from 384 to 320 kB - Environment is now in flash - Added POST - Support for OF Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWolfgang Denk2008-01-12-2/+2
| | | | | | | | | | | | | | | | | | | 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>
* ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xxStefan Roese2007-10-31-1/+1
| | | | | | | | | | This patch moves some common 4xx macros and the PPC405_SYS_INFO/ PPC440_SYS_INFO structure into the common ppc4xx.h header. Lot's of other macros are good candidates to be consolidated this way in the future. Signed-off-by: Stefan Roese <sr@denx.de>
* Merge with git+ssh://gemini_vpn/home/wd/git/u-boot/masterWolfgang Denk2007-08-18-2/+0
|\
| * lib_ppc: make board_add_ram_info weakKim Phillips2007-08-18-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | platforms wishing to display RAM diagnostics in addition to size, can do so, on one line, in their own board_add_ram_info() implementation. this consequently eliminates CONFIG_ADD_RAM_INFO. Thanks to Stefan for the hint. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* | PPC4xx:HCU4/5 cleanupNiklaus Giger2007-08-16-29/+60
| | | | | | | | | | | | | | | | Minor cleanups to confirm to the u-boot coding style. Some german expressions -> english. HCU5 enforces a unique IP adress for a given slot in the rack. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | PPC4xx:HCU4/5 cleanup ecc/sdram initNiklaus Giger2007-08-16-3/+12
| | | | | | | | | | | | | | | | | | | | Make ecc initialisation robust, as DDR2-ECC errors may be generated while zeroing the RAM. Return 16 bytes (a cacheline) less than the available memory, as the board and/or PPC440EPx might have problems accessing the last bytes. Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* | PPC4xx:HCU4/5-Board fix compile warningNiklaus Giger2007-08-15-10/+18
|/ | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-14-10/+7
|
* Coding style cleanupStefan Roese2007-08-10-140/+147
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* Add PPC4xx-HCU4 and HCU5 boards: HCU5 filesNiklaus Giger2007-08-10-0/+906
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Add PPC4xx-HCU4 and HCU5 boards: HCU4 filesNiklaus Giger2007-08-10-0/+393
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Add PPC4xx-HCU4 and HCU5 boards: common filesNiklaus Giger2007-08-10-0/+570
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Add PPC4xx-HCU4 and HCU5 boards: make relatedNiklaus Giger2007-08-10-0/+442
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* Add PPC4xx-HCU4 and HCU5 boards: READMEsNiklaus Giger2007-08-10-0/+233
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>