diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 03:11:03 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-06 03:11:03 +0000 |
| commit | 2c6f08ddfc9538988818b6a2b65ecd638571c49c (patch) | |
| tree | 3453d0478ec03c99a6a8d57a18225875b6bb4f8c | |
| parent | 3a777cd79c1a547e168ac142e58ed79f07daadc3 (diff) | |
| download | rockbox-2c6f08ddfc9538988818b6a2b65ecd638571c49c.zip rockbox-2c6f08ddfc9538988818b6a2b65ecd638571c49c.tar.gz rockbox-2c6f08ddfc9538988818b6a2b65ecd638571c49c.tar.bz2 rockbox-2c6f08ddfc9538988818b6a2b65ecd638571c49c.tar.xz | |
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
| -rw-r--r-- | firmware/drivers/ata.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 91ebf3f..f4a931b 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; |