]> git.sur5r.net Git - u-boot/commitdiff
arm: novena: Fix kernel_addr_r env variable
authorMarek Vasut <marex@denx.de>
Tue, 10 Nov 2015 19:54:12 +0000 (20:54 +0100)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Nov 2015 16:34:15 +0000 (17:34 +0100)
The kernel_addr_r should be set to the same value as CONFIG_LOADADDR,
get rid of the duplication.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Stefano Babic <sbabic@denx.de>
include/configs/novena.h

index cd426be18c6ad5c6e9e3144bd768b2cda19f4d96..d88389a47294d9de915534cab683d81fd434221d 100644 (file)
        "bootdev=/dev/mmcblk0p1\0"                                      \
        "rootdev=/dev/mmcblk0p2\0"                                      \
        "netdev=eth0\0"                                                 \
-       "kernel_addr_r=0x18000000\0"                                    \
+       "kernel_addr_r="__stringify(CONFIG_LOADADDR)"\0"                \
        "addcons="                                                      \
                "setenv bootargs ${bootargs} "                          \
                "console=${consdev},${baudrate}\0"                      \