]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
warp7, pic32mzdask: Remove SYS_FDT_ADDR/SYS_ENV_ADDR from CONFIG namespace
authorTom Rini <trini@konsulko.com>
Mon, 13 Dec 2021 03:12:33 +0000 (22:12 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 27 Dec 2021 21:20:18 +0000 (16:20 -0500)
In the case of CONFIG_SYS_FDT_ADDR this was being used to modify the
default value of fdt_addr / fdt_addr_r, which is not something to expose
in this manner and is not otherwise done.  The case of SYS_ENV_ADDR is
similar but only done on the pic32mzdask platform, for scriptaddr.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/warp7/Kconfig
include/configs/pic32mzdask.h
include/configs/warp7.h

index e5051cdda66a49929509d1cf6a7c8623c44388ed..05b4420afc82676e9fab9a708599392a4d0bfb8b 100644 (file)
@@ -14,12 +14,6 @@ config WARP7_ROOT_PART
          partition that is typically specified with root=/dev/sdaX or
          which gets converted into a root=PARTUUID=some_uuid.
 
-config SYS_FDT_ADDR
-       hex "FDT load address"
-       default 0x83000000
-       help
-         The address the FDT file should be loaded to.
-
 config IMX_CONFIG
        default "board/warp7/imximage.cfg"
 
index cc2e6a7ae89c00703281a8423a42fd9b771c2683..3624c122fcdb0f2ab5d1e91ba72b613eeed18ea6 100644 (file)
@@ -33,9 +33,6 @@
 #define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE
 #define CONFIG_SYS_MONITOR_LEN         (192 << 10)
 
-#define CONFIG_SYS_ENV_ADDR            0x88300000
-#define CONFIG_SYS_FDT_ADDR            0x89d00000
-
 /* Memory Test */
 
 /*----------------------------------------------------------------------
@@ -74,8 +71,8 @@
 
 #define MEM_LAYOUT_ENV_SETTINGS                                        \
        "kernel_addr_r="__stringify(CONFIG_SYS_LOAD_ADDR)"\0"   \
-       "fdt_addr_r="__stringify(CONFIG_SYS_FDT_ADDR)"\0"       \
-       "scriptaddr="__stringify(CONFIG_SYS_ENV_ADDR)"\0"
+       "fdt_addr_r=0x89d00000\0"                               \
+       "scriptaddr=0x88300000\0"                               \
 
 #define CONFIG_LEGACY_BOOTCMD_ENV                                      \
        "legacy_bootcmd= "                                              \
index da7c753ddd73e6c1999ebe8227977dcbd76a2a7d..83ee1784ce91c627a9ed334b2f6d91886fb1bd40 100644 (file)
@@ -39,7 +39,7 @@
        "fdt_high=0xffffffff\0" \
        "initrd_high=0xffffffff\0" \
        "fdt_file=imx7s-warp.dtb\0" \
-       "fdt_addr=" __stringify(CONFIG_SYS_FDT_ADDR)"\0" \
+       "fdt_addr=0x83000000\0" \
        "fdtovaddr=0x83100000\0" \
        "boot_fdt=try\0" \
        "ip_dyn=yes\0" \