pxa: colibri_pax270: fix CONFIG_BOOTCOMMAND
authorMarcel Ziswiler <marcel@ziswiler.com>
Sat, 28 Feb 2015 23:53:16 +0000 (00:53 +0100)
committerMarek Vasut <marex@denx.de>
Mon, 2 Mar 2015 09:59:51 +0000 (10:59 +0100)
While 'mmc init' is no longer required the address to bootm the kernel
from NOR flash was wrong.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
include/configs/colibri_pxa270.h

index 1b1816ae257c39b29f190f992a7eed862e5b1330..07426d16bf72c7d2e64da41fdb32bbf1d75cb5d0 100644 (file)
 #define        CONFIG_SYS_MALLOC_LEN           (128 * 1024)
 #define        CONFIG_ARCH_CPU_INIT
 #define        CONFIG_BOOTCOMMAND                                              \
-       "if mmc init && fatload mmc 0 0xa0000000 uImage; then "         \
+       "if fatload mmc 0 0xa0000000 uImage; then "                     \
                "bootm 0xa0000000; "                                    \
        "fi; "                                                          \
        "if usb reset && fatload usb 0 0xa0000000 uImage; then "        \
                "bootm 0xa0000000; "                                    \
        "fi; "                                                          \
-       "bootm 0x80000;"
+       "bootm 0xc0000;"
 #define        CONFIG_BOOTARGS                 "console=tty0 console=ttyS0,115200"
 #define        CONFIG_TIMESTAMP
 #define        CONFIG_BOOTDELAY                2       /* Autoboot delay */