diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-03-01 17:52:26 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-03-01 17:52:26 +0000 |
commit | 3c58f5d0269dbbea74d0a225b465792b299bd48d (patch) | |
tree | ae2b29071702e14df831251546018e079c54f8f2 | |
parent | 7d81e7c8667b986a145d1a7041cf51b419e370a7 (diff) | |
download | rockbox-3c58f5d0269dbbea74d0a225b465792b299bd48d.tar.gz rockbox-3c58f5d0269dbbea74d0a225b465792b299bd48d.zip |
code police: add some missing trailing zeroes to remove possible confusion. No functional change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16466 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/coldfire/iriver/ata-iriver.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/target/coldfire/iriver/ata-iriver.c b/firmware/target/coldfire/iriver/ata-iriver.c index 82dae32a97..bab08a652b 100644 --- a/firmware/target/coldfire/iriver/ata-iriver.c +++ b/firmware/target/coldfire/iriver/ata-iriver.c | |||
@@ -36,10 +36,10 @@ void ata_reset(void) | |||
36 | void ata_enable(bool on) | 36 | void ata_enable(bool on) |
37 | { | 37 | { |
38 | if(on) | 38 | if(on) |
39 | and_l(~0x0040000, &GPIO_OUT); | 39 | and_l(~0x00040000, &GPIO_OUT); |
40 | else | 40 | else |
41 | or_l(0x0040000, &GPIO_OUT); | 41 | or_l(0x00040000, &GPIO_OUT); |
42 | 42 | ||
43 | or_l(0x00040000, &GPIO_ENABLE); | 43 | or_l(0x00040000, &GPIO_ENABLE); |
44 | or_l(0x00040000, &GPIO_FUNCTION); | 44 | or_l(0x00040000, &GPIO_FUNCTION); |
45 | } | 45 | } |
@@ -53,11 +53,11 @@ void ata_device_init(void) | |||
53 | { | 53 | { |
54 | #ifdef HAVE_ATA_LED_CTRL | 54 | #ifdef HAVE_ATA_LED_CTRL |
55 | /* Enable disk LED & ISD chip power control */ | 55 | /* Enable disk LED & ISD chip power control */ |
56 | and_l(~0x0000240, &GPIO_OUT); | 56 | and_l(~0x00000240, &GPIO_OUT); |
57 | or_l(0x00000240, &GPIO_ENABLE); | 57 | or_l( 0x00000240, &GPIO_ENABLE); |
58 | or_l(0x00000200, &GPIO_FUNCTION); | 58 | or_l( 0x00000200, &GPIO_FUNCTION); |
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | /* ATA reset */ | 61 | /* ATA reset */ |
62 | or_l(0x00080000, &GPIO_OUT); | 62 | or_l(0x00080000, &GPIO_OUT); |
63 | or_l(0x00080000, &GPIO_ENABLE); | 63 | or_l(0x00080000, &GPIO_ENABLE); |