From c9969947a4687de90e2bb58e76842b491aa0e0b9 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Sun, 14 Jun 2009 18:21:28 -0400 Subject: 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 Acked-by: Grant Likely --- cpu/mpc5xxx/ide.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpu/mpc5xxx') diff --git a/cpu/mpc5xxx/ide.c b/cpu/mpc5xxx/ide.c index 9e8f29b28..d337abb1c 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; -- cgit v1.2.3