From 8b061252c4359aa960ae31c0a4b2ba92f6771017 Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sat, 3 Mar 2007 17:25:20 +0000 Subject: 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 --- firmware/target/arm/ipod/backlight-nano_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/ipod/backlight-nano_video.c') 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) outl(((0x100 | 1) << 3), 0x6000d824); /* set port L07 on */ - outl(((0x100 | 1) << 7), 0x6000d12c); + GPIOL_OUTPUT_VAL = ((0x100 | 1) << 7); } inline void __backlight_off(void) @@ -46,5 +46,5 @@ inline void __backlight_off(void) outl(((0x100 | 0) << 3), 0x6000d824); /* set port L07 off */ - outl(((0x100 | 0) << 7), 0x6000d12c); + GPIOL_OUTPUT_VAL = ((0x100 | 0) << 7); } -- cgit v1.2.3