diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2007-03-03 17:25:20 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2007-03-03 17:25:20 +0000 |
commit | 8b061252c4359aa960ae31c0a4b2ba92f6771017 (patch) | |
tree | aad5ba8e1defbf09e68887d6d06db362e66f3b67 /firmware/target/arm/ipod/backlight-nano_video.c | |
parent | a7311331d551cb09b0573a7935915de6dc54a4d1 (diff) | |
download | rockbox-8b061252c4359aa960ae31c0a4b2ba92f6771017.tar.gz rockbox-8b061252c4359aa960ae31c0a4b2ba92f6771017.zip |
Replace some inl/outl with register #define's instead. Also tidy up pp5020.h so that it's in increasing address order.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod/backlight-nano_video.c')
-rw-r--r-- | firmware/target/arm/ipod/backlight-nano_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/ipod/backlight-nano_video.c b/firmware/target/arm/ipod/backlight-nano_video.c index 5559709333..a5ef334d61 100644 --- a/firmware/target/arm/ipod/backlight-nano_video.c +++ b/firmware/target/arm/ipod/backlight-nano_video.c | |||
@@ -37,7 +37,7 @@ inline void __backlight_on(void) | |||
37 | outl(((0x100 | 1) << 3), 0x6000d824); | 37 | outl(((0x100 | 1) << 3), 0x6000d824); |
38 | 38 | ||
39 | /* set port L07 on */ | 39 | /* set port L07 on */ |
40 | outl(((0x100 | 1) << 7), 0x6000d12c); | 40 | GPIOL_OUTPUT_VAL = ((0x100 | 1) << 7); |
41 | } | 41 | } |
42 | 42 | ||
43 | inline void __backlight_off(void) | 43 | inline void __backlight_off(void) |
@@ -46,5 +46,5 @@ inline void __backlight_off(void) | |||
46 | outl(((0x100 | 0) << 3), 0x6000d824); | 46 | outl(((0x100 | 0) << 3), 0x6000d824); |
47 | 47 | ||
48 | /* set port L07 off */ | 48 | /* set port L07 off */ |
49 | outl(((0x100 | 0) << 7), 0x6000d12c); | 49 | GPIOL_OUTPUT_VAL = ((0x100 | 0) << 7); |
50 | } | 50 | } |