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
This commit is contained in:
parent
7d81e7c866
commit
3c58f5d026
1 changed files with 7 additions and 7 deletions
|
@ -36,10 +36,10 @@ void ata_reset(void)
|
|||
void ata_enable(bool on)
|
||||
{
|
||||
if(on)
|
||||
and_l(~0x0040000, &GPIO_OUT);
|
||||
and_l(~0x00040000, &GPIO_OUT);
|
||||
else
|
||||
or_l(0x0040000, &GPIO_OUT);
|
||||
|
||||
or_l(0x00040000, &GPIO_OUT);
|
||||
|
||||
or_l(0x00040000, &GPIO_ENABLE);
|
||||
or_l(0x00040000, &GPIO_FUNCTION);
|
||||
}
|
||||
|
@ -53,11 +53,11 @@ void ata_device_init(void)
|
|||
{
|
||||
#ifdef HAVE_ATA_LED_CTRL
|
||||
/* Enable disk LED & ISD chip power control */
|
||||
and_l(~0x0000240, &GPIO_OUT);
|
||||
or_l(0x00000240, &GPIO_ENABLE);
|
||||
or_l(0x00000200, &GPIO_FUNCTION);
|
||||
and_l(~0x00000240, &GPIO_OUT);
|
||||
or_l( 0x00000240, &GPIO_ENABLE);
|
||||
or_l( 0x00000200, &GPIO_FUNCTION);
|
||||
#endif
|
||||
|
||||
|
||||
/* ATA reset */
|
||||
or_l(0x00080000, &GPIO_OUT);
|
||||
or_l(0x00080000, &GPIO_ENABLE);
|
||||
|
|
Loading…
Reference in a new issue