diff options
author | Jon Smirl <jonsmirl@gmail.com> | 2009-06-14 18:21:28 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-07-10 23:21:32 +0200 |
commit | c9969947a4687de90e2bb58e76842b491aa0e0b9 (patch) | |
tree | 7bd09807d9660c477ca5fca8b8e5ca8547f1d008 /cpu | |
parent | 3672cd5c3b53d219d33345eebad4e25ad5bf6d52 (diff) | |
download | bootable_bootloader_goldelico_gta04-c9969947a4687de90e2bb58e76842b491aa0e0b9.zip bootable_bootloader_goldelico_gta04-c9969947a4687de90e2bb58e76842b491aa0e0b9.tar.gz bootable_bootloader_goldelico_gta04-c9969947a4687de90e2bb58e76842b491aa0e0b9.tar.bz2 |
board support patch for phyCORE-MPC5200B-tiny
Add support for the Phytec phyCORE-MPC5200B-tiny.
Code originally from Pengutronix.de.
Created CONFIG_SYS_ATA_CS_ON_TIMER01 define for when IDE CS is on
Timer 0/1
Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc5xxx/ide.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/mpc5xxx/ide.c b/cpu/mpc5xxx/ide.c index 9e8f29b..d337abb 100644 --- a/cpu/mpc5xxx/ide.c +++ b/cpu/mpc5xxx/ide.c @@ -45,6 +45,9 @@ int ide_preinit (void) #if defined(CONFIG_SYS_ATA_CS_ON_I2C2) /* ATA cs0/1 on i2c2 clk/io */ reg = (reg & ~0x03000000ul) | 0x02000000ul; +#elif defined(CONFIG_SYS_ATA_CS_ON_TIMER01) + /* ATA cs0/1 on Timer 0/1 */ + reg = (reg & ~0x03000000ul) | 0x03000000ul; #else /* ATA cs0/1 on Local Plus cs4/5 */ reg = (reg & ~0x03000000ul) | 0x01000000ul; |