]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/lib/board.c
Replace "FLASH" strings with "Flash" or "flash"
[karo-tx-uboot.git] / arch / arm / lib / board.c
index 1fd5f8362f7a3e1a076c44e9f554e6c0297dfdb0..c620d2c200616f0e6a04a49fab2a90876e0be2d7 100644 (file)
@@ -276,7 +276,7 @@ void board_init_f (ulong bootflag)
        ulong addr, addr_sp;
 
        /* Pointer is writable since we allocated a register for it */
-       gd = (gd_t *) (CONFIG_SYS_INIT_SP_ADDR);
+       gd = (gd_t *) ((CONFIG_SYS_INIT_SP_ADDR) & ~0x07);
        /* compiler optimization barrier needed for GCC >= 3.4 */
        __asm__ __volatile__("": : :"memory");
 
@@ -481,7 +481,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
        mem_malloc_init (malloc_start, TOTAL_MALLOC_LEN);
 
 #if !defined(CONFIG_SYS_NO_FLASH)
-       puts ("FLASH: ");
+       puts ("Flash: ");
 
        if ((flash_size = flash_init ()) > 0) {
 # ifdef CONFIG_SYS_FLASH_CHECKSUM