projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove compiler warning: target CPU does not support interworking
[oweals/u-boot.git]
/
cpu
/
arm720t
/
cpu.c
diff --git
a/cpu/arm720t/cpu.c
b/cpu/arm720t/cpu.c
index a5b6de7605525783eebe3608170f8cfa255cc2f8..5ac8f59ab3caf2f1b551fc919b0ff64d3e814d52 100644
(file)
--- a/
cpu/arm720t/cpu.c
+++ b/
cpu/arm720t/cpu.c
@@
-41,7
+41,7
@@
int cpu_init (void)
* setup up stacks if necessary
*/
#ifdef CONFIG_USE_IRQ
* setup up stacks if necessary
*/
#ifdef CONFIG_USE_IRQ
- IRQ_STACK_START = _armboot_start - C
FG_MALLOC_LEN - CFG
_GBL_DATA_SIZE - 4;
+ IRQ_STACK_START = _armboot_start - C
ONFIG_SYS_MALLOC_LEN - CONFIG_SYS
_GBL_DATA_SIZE - 4;
FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ;
#endif
return 0;
FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ;
#endif
return 0;
@@
-73,7
+73,7
@@
int cleanup_before_linux (void)
/* go to high speed */
IO_SYSCON3 = (IO_SYSCON3 & ~CLKCTL) | CLKCTL_73;
#endif
/* go to high speed */
IO_SYSCON3 = (IO_SYSCON3 & ~CLKCTL) | CLKCTL_73;
#endif
-#elif defined(CONFIG_NETARM) || defined(CONFIG_S3C4510B)
+#elif defined(CONFIG_NETARM) || defined(CONFIG_S3C4510B)
|| defined(CONFIG_LPC2292)
disable_interrupts ();
/* Nothing more needed */
#elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR)
disable_interrupts ();
/* Nothing more needed */
#elif defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_INTEGRATOR)
@@
-252,6
+252,7
@@
int dcache_status (void)
void icache_enable (void)
{
}
void icache_enable (void)
{
}
+#elif defined(CONFIG_LPC2292) /* just to satisfy the compiler */
#else
#error No icache/dcache enable/disable functions defined for this CPU type
#endif
#else
#error No icache/dcache enable/disable functions defined for this CPU type
#endif