summaryrefslogtreecommitdiff
path: root/board/ads5121/ads5121.c
Commit message (Collapse)AuthorAgeLines
* ADS5121: Fix NOR and CPLD ALE timing for rev 2 siliconJohn Rigby2008-08-28-0/+4
| | | | | | | | | | | | | | | | MPC5121 rev 2 silicon has a new register for controlling how long CS is asserted after deassertion of ALE in multiplexed mode. The default is to assert CS together with ALE. The alternative is to assert CS (ALEN+1)*LPC_CLK clocks after deassertion of ALE. The default is wrong for the NOR flash and CPLD on the ADS5121. This patch turns on the alternative for CS0 (NOR) and CS2 (CPLD) it does so conditionally based on silicon rev 2.0 or greater. Signed-off-by: Martha J Marx <mmarx@silicontkx.com> Signed-off-by: John Rigby <jrigby@freescale.com>
* mpc5121: Move iopin features from board specific to common files.Kenneth Johansson2008-08-05-4/+54
| | | | | | And in the process eliminate some duplicate register defines. Signed-off-by: Kenneth Johansson <kenneth@southpole.se>
* ADS5121: Fix (delete) incorrect ads5121_diu_init() prototypeWolfgang Denk2008-07-13-2/+0
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ADS5121 cleanup compile warningsJohn Rigby2008-07-12-0/+3
| | | | | | | | | | | | | | | | board/ads5121/iopin.c Replace bit fields in struct iopin_t with a single field and intialize it via plain old macros. This fixes the type pun warnings and makes the code more readable. board/ads5121/ads5121.c Add include iopin.h to ads5121.c for the iopin_initialize prototype. Add an extern void ads5121_diu_init(void) Signed-off-by: John Rigby <jrigby@freescale.com>
* Fix some more print() format errors.Wolfgang Denk2008-07-11-2/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Configuration changes for ADS5121 Rev 3Martha Marx2008-07-10-2/+17
| | | | | | | | | | | | | | | | | | | | | ADS5121 Rev 3 board is now the default config config targets are now ads5121_config Rev 3 board with PCI M41T62 on board RTC 512MB DRAM ads5121_rev2_config Rev 2 board with No PCI 256MB DRAM Signed-off-by: Martha Marx <mmarx@silicontkx.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: John Rigby <jrigby@freescale.com>
* Consolidate ADS5121 IO Pin configurationMartha Marx2008-07-10-33/+2
| | | | | | | | | | | Consolidate ADS5121 IO Pin configuration to one file board/ads5121/iopin.c. Remove pin config from cpu/mpc512x/fec.c Signed-off-by: Martha Marx <mmarx@silicontkx.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: John Rigby <jrigby@freescale.com>
* Change initdram() return type to phys_size_tBecky Bruce2008-06-12-1/+1
| | | | | | | | | | | | | | | | | | | This patch changes the return type of initdram() from long int to phys_size_t. This is required for a couple of reasons: long int limits the amount of dram to 2GB, and u-boot in general is moving over to phys_size_t to represent the size of physical memory. phys_size_t is defined as an unsigned long on almost all current platforms. This patch *only* changes the return type of the initdram function (in include/common.h, as well as in each board's implementation of initdram). It does not actually modify the code inside the function on any of the platforms; platforms which wish to support more than 2GB of DRAM will need to modify their initdram() function code. Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc MPC8641HPCN. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* Adding DIU support for Freescale 5121ADSYork Sun2008-05-21-1/+61
| | | | | | | | Add DIU and cfb console support to FSL 5121ADS board. Use #define CONFIG_VIDEO in config file to enable fb console. Signed-off-by: York Sun <yorksun@freescale.com>
* MPC5121e ADS PCI support take 3John Rigby2008-03-02-0/+1
| | | | | | | | | | | | | | | | Adds PCI support for MPC5121 Tested with drivers/net/rtl8139.c Support is conditional since PCI on old silicon does not work. ads5121_PCI_config turns on PCI In this version, condition compilation of PCI code has been moved from ifdef in board/ads5121/pci.c to board/ads5121/Makefile as suggested by Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: John Rigby <jrigby@freescale.com>
* ADS5121e: DDR2 init/timing update.Grzegorz Bernacki2008-02-07-13/+21
| | | | | Signed-off-by: John Rigby <jrigby@freescale.com> Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* ADS5121: Fix typo in ads5121.c, adjust default environmentWolfgang Denk2008-01-13-2/+3
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ADS5121: MAX slew rate for PATA pinsJohn Rigby2008-01-13-0/+8
| | | | Signed-off-by: John Rigby <jrigby@freescale.com>
* ADS5121e: fix compile warningWolfgang Denk2008-01-13-0/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ads5121: Added support for FDT.Grzegorz Bernacki2008-01-12-0/+8
| | | | Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com>
* Cleanup output on ADS5121 boardWolfgang Denk2007-08-12-2/+0
| | | | Signed-off-by: Wolfgang Denk
* Coding style cleanup, update CHANGELOGWolfgang Denk2007-08-02-2/+2
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* [ADS5121] Support for the ADS5121 boardRafal Jaworowski2007-07-27-0/+188
The following MPC5121e subsystems are supported: - low-level CPU init - NOR Boot Flash (common CFI driver) - DDR SDRAM - FEC - I2C - Watchdog Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Signed-off-by: Rafal Jaworowski <raj@semihalf.com> Signed-off-by: Jan Wrobel <wrr@semihalf.com>