diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-08 10:38:40 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-08 10:38:40 +0000 |
commit | cb7e88d3b677dee6948608c944eded256acf37fd (patch) | |
tree | b04fce00a10caddc51ccadd46c6a623df952c0ef | |
parent | 4ed78f5c72649002d78d48d9a117826a5d9c36f9 (diff) | |
download | rockbox-cb7e88d3b677dee6948608c944eded256acf37fd.tar.gz rockbox-cb7e88d3b677dee6948608c944eded256acf37fd.zip |
Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19717 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/tms320dm320/system-dm320.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c index 61b4653726..700903b768 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/system-meg-fx.c | |||
@@ -114,7 +114,7 @@ void system_reboot(void) | |||
114 | void system_exception_wait(void) | 114 | void system_exception_wait(void) |
115 | { | 115 | { |
116 | INTMSK = 0xFFFFFFFF; | 116 | INTMSK = 0xFFFFFFFF; |
117 | while (GPGDAT & (1 << 0)) == 0); /* Wait for power button */ | 117 | while ((GPGDAT & (1 << 0)) == 0); /* Wait for power button */ |
118 | } | 118 | } |
119 | 119 | ||
120 | static void set_page_tables(void) | 120 | static void set_page_tables(void) |
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c index f8cdd5b93e..e8d732351f 100644 --- a/firmware/target/arm/tms320dm320/system-dm320.c +++ b/firmware/target/arm/tms320dm320/system-dm320.c | |||
@@ -186,6 +186,11 @@ void system_reboot(void) | |||
186 | ); | 186 | ); |
187 | } | 187 | } |
188 | 188 | ||
189 | void system_exception_wait(void) | ||
190 | { | ||
191 | while (1); | ||
192 | } | ||
193 | |||
189 | void system_init(void) | 194 | void system_init(void) |
190 | { | 195 | { |
191 | /* taken from linux/arch/arm/mach-itdm320-20/irq.c */ | 196 | /* taken from linux/arch/arm/mach-itdm320-20/irq.c */ |