From 2c6f08ddfc9538988818b6a2b65ecd638571c49c Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 6 Feb 2005 03:11:03 +0000 Subject: Added ISD chip power control setup and used proper define for the MCF5249 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5808 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/ata.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/ata.c') diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 91ebf3fabd..f4a931b6c3 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c @@ -1361,9 +1361,9 @@ int ata_init(void) or_b(0x02, &PAIORH); /* output for ATA reset */ or_b(0x02, &PADRH); /* release ATA reset */ PACR2 &= 0xBFFF; /* GPIO function for PA7 (IDE enable) */ -#elif defined HAVE_MCF5249 +#elif CONFIG_CPU == MCF5249 /* Enable disk LED & ISD chip power control */ - GPIO_OUT &= ~0x0000200; + GPIO_OUT &= ~0x0000240; GPIO_ENABLE |= 0x00000240; GPIO_FUNCTION |= 0x00000200; -- cgit v1.2.3