9
0
Fork 0

guf-neso: Fix compiler warnings

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2010-09-20 09:33:42 +02:00
parent a992155c62
commit 560253bbe1
1 changed files with 4 additions and 1 deletions

View File

@ -32,6 +32,7 @@
#include <asm/system.h>
#include <asm-generic/memory_layout.h>
#ifdef CONFIG_NAND_IMX_BOOT
static void __bare_init __naked insdram(void)
{
uint32_t r;
@ -46,6 +47,7 @@ static void __bare_init __naked insdram(void)
board_init_lowlevel_return();
}
#endif
#define ESDCTL0_VAL (ESDCTL0_SDE | ESDCTL0_ROW13 | ESDCTL0_COL10)
@ -53,8 +55,9 @@ void __bare_init __naked board_init_lowlevel(void)
{
uint32_t r;
int i;
#ifdef CONFIG_NAND_IMX_BOOT
unsigned int *trg, *src;
#endif
/* ahb lite ip interface */
AIPI1_PSR0 = 0x20040304;
AIPI1_PSR1 = 0xDFFBFCFB;