]> git.sur5r.net Git - u-boot/commitdiff
ti_armv7_keystone2: Update addr_mon variable
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 16 Sep 2016 04:47:53 +0000 (10:17 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 2 Oct 2016 00:05:12 +0000 (20:05 -0400)
As boot monitor contains a mkimage header, it can be loaded at any location.
So, have a common addr_mon address across all keystone2 SoCs. And also
making sure that boot monitor is installed early during default boot to
avoid any overlapping with other images.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/k2e_evm.h
include/configs/k2g_evm.h
include/configs/k2hk_evm.h
include/configs/k2l_evm.h
include/configs/ti_armv7_keystone2.h

index 7eaab875f28d0b9365094164be9582f1e5a86595..8d6471ae886546969a1fa3fb62d5b7b7985935cc 100644 (file)
@@ -18,7 +18,6 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS                            \
        DEFAULT_FW_INITRAMFS_BOOT_ENV                                   \
        "boot=ubi\0"                                                    \
-       "addr_mon=0x0c140000\0"                                         \
        "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "        \
        "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0"       \
        "name_fdt=keystone-k2e-evm.dtb\0"                               \
index d73543fc9d80aaff033b10e0134b8cc32dc8b2f5..a14544526c71757b2e1bfcda9cd5f7b03ffc1042 100644 (file)
@@ -24,7 +24,6 @@
        "bootpart=0:2\0"                                                \
        "bootdir=/boot\0"                                               \
        "rd_spec=-\0"                                                   \
-       "addr_mon=0x0c040000\0"                                         \
        "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "        \
        "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0"       \
        "name_fdt=keystone-k2g-evm.dtb\0"                               \
@@ -44,9 +43,8 @@
 #define CONFIG_BOOTCOMMAND                                             \
        "run envboot; "                                                 \
        "run set_name_pmmc init_${boot} init_fw_rd_${boot} "            \
-       "get_pmmc_${boot} run_pmmc "                                    \
-       "get_fdt_${boot} get_mon_${boot} get_kern_${boot} "             \
-       "run_mon run_kern"
+       "get_pmmc_${boot} run_pmmc get_mon_${boot} run_mon "            \
+       "get_fdt_${boot} get_kern_${boot} run_kern"
 
 #include <configs/ti_armv7_keystone2.h>
 
index 0256f0e56780cbf5f84855335f57efa9d265e380..913d4545b81f73f8e2d124c7969e2cee33325c57 100644 (file)
@@ -18,7 +18,6 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS                            \
        DEFAULT_FW_INITRAMFS_BOOT_ENV                                   \
        "boot=ubi\0"                                                    \
-       "addr_mon=0x0c5f0000\0"                                         \
        "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "        \
        "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0"       \
        "name_fdt=keystone-k2hk-evm.dtb\0"                              \
index 2322ab288d99fa461a75de720d320c10fc821356..395e61c21d55bf94f30f446ec7b9c26d9fe58bb7 100644 (file)
@@ -18,7 +18,6 @@
 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS                            \
        DEFAULT_FW_INITRAMFS_BOOT_ENV                                   \
        "boot=ubi\0"                                                    \
-       "addr_mon=0x0c140000\0"                                         \
        "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "        \
        "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,4096\0"       \
        "name_fdt=keystone-k2l-evm.dtb\0"                               \
index 9c0614e56692a073372971157979397429ae5e74..c42dedbbd1951b749fc38b82231f607a4f060829 100644 (file)
        "addr_ubi=0x82000000\0"                                         \
        "addr_secdb_key=0xc000000\0"                                    \
        "name_kern=zImage\0"                                            \
+       "addr_mon=0x87000000\0"                                         \
        "run_mon=mon_install ${addr_mon}\0"                             \
        "run_kern=bootz ${loadaddr} ${rd_spec} ${fdtaddr}\0"            \
        "init_net=run args_all args_net\0"                              \
 
 #ifndef CONFIG_BOOTCOMMAND
 #define CONFIG_BOOTCOMMAND                                             \
-       "run init_${boot} init_fw_rd_${boot} get_fdt_${boot} "          \
-               "get_mon_${boot} get_kern_${boot} run_mon run_kern"
+       "run init_${boot} get_mon_${boot} run_mon init_fw_rd_${boot} "  \
+       "get_fdt_${boot} get_kern_${boot} run_kern"
 #endif
 
 #define CONFIG_BOOTARGS                                                        \