]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls1012a: Modify Kernel and Environment offset
authorBhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
Mon, 13 Nov 2017 23:35:10 +0000 (05:05 +0530)
committerYork Sun <york.sun@nxp.com>
Wed, 6 Dec 2017 22:55:17 +0000 (14:55 -0800)
Kernel is now located at 0x1000000 instead of 0xa00000
and envirorment variables are located at 3MB offset instead of
2MB in Flash.

Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/configs/ls1012a_common.h
include/configs/ls1012afrdm.h

index d2fa50a8be752956a54de7a91615f1f9c40dd6f9..57cae9498cbd20565a4664cb436491e814444546 100644 (file)
@@ -65,7 +65,7 @@
 #define CONFIG_ENV_OVERWRITE
 
 #define CONFIG_ENV_SIZE                        0x40000          /* 256KB */
-#define CONFIG_ENV_OFFSET              0x200000        /* 2MB */
+#define CONFIG_ENV_OFFSET              0x300000        /* 3MB */
 #define CONFIG_ENV_SECT_SIZE           0x40000
 #endif
 
@@ -94,7 +94,7 @@
        "kernel_addr=0x100000\0"                \
        "fdt_high=0xffffffffffffffff\0"         \
        "initrd_high=0xffffffffffffffff\0"      \
-       "kernel_start=0xa00000\0"               \
+       "kernel_start=0x1000000\0"              \
        "kernel_load=0xa0000000\0"              \
        "kernel_size=0x2800000\0"               \
 
index efb4c00cd91e0b1eae73317ac5ed82b575265b7d..5b4bf288e759cf6283e9f1f8f3c512cebaac7dd4 100644 (file)
@@ -27,7 +27,7 @@
        "kernel_addr=0x100000\0"                \
        "fdt_high=0xffffffffffffffff\0"         \
        "initrd_high=0xffffffffffffffff\0"      \
-       "kernel_start=0xa00000\0"               \
+       "kernel_start=0x1000000\0"              \
        "kernel_load=0x96000000\0"              \
        "kernel_size=0x2800000\0"