]> git.sur5r.net Git - u-boot/blobdiff - board/eNET/eNET_start16.S
sh: Fix rsk7203 alignment problem
[u-boot] / board / eNET / eNET_start16.S
index 183309cb7f10343c3e5e1abaa97bc24fee4654d4..77e5519640da489e37f84e5dcd2ce069538fbf7b 100644 (file)
@@ -29,6 +29,7 @@
 
 /* #include <asm/ic/sc520_defs.h> */
 
+#include "config.h"
 #include "hardware.h"
 #include <asm/ic/sc520.h>
 
@@ -48,19 +49,14 @@ board_init16:
 
        /* Map PAR for Boot Flash (BOOTCS, 512kB @ 0x380000000) */
        movl    $(SC520_PAR14 - SC520_MMCR_BASE), %edi
-       movl    $0x8bfff800, %eax       /* TODO: Check this */
+       movl    $CONFIG_SYS_SC520_BOOTCS_PAR, %eax
        movl    %eax, (%di)
 
        /* Map PAR for LED, Hex Switches (GPCS6, 20 Bytes @ 0x1000) */
        movl    $(SC520_PAR15 - SC520_MMCR_BASE), %edi
-       movl    $0x38201000, %eax
+       movl    $CONFIG_SYS_SC520_LLIO_PAR, %eax
        movl    %eax, (%di)
 
-       /* Disable SDRAM write buffer */
-       movw    $(SC520_DBCTL - SC520_MMCR_BASE), %di
-       xorw    %ax, %ax
-       movb    %al, (%di)
-
        /* Disabe MMCR alias */
        movw    $0xfffc, %dx
        movl    $0x000000cb, %eax