]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: imx6ul: kontron-sl-mx6ul: Migrate to use CONFIG_EXTRA_ENV_TEXT
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Tue, 23 Aug 2022 14:29:14 +0000 (16:29 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 20 Oct 2022 15:35:51 +0000 (17:35 +0200)
Move the environment from the board header to a separate text file
and also drop those variables that are already set in env_default.h
from the Kconfig options or are not needed anymore.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
board/kontron/sl-mx6ul/sl-mx6ul.env [new file with mode: 0644]
include/configs/kontron-sl-mx6ul.h

diff --git a/board/kontron/sl-mx6ul/sl-mx6ul.env b/board/kontron/sl-mx6ul/sl-mx6ul.env
new file mode 100644 (file)
index 0000000..9484e73
--- /dev/null
@@ -0,0 +1,4 @@
+kernel_addr_r=0x82000000
+ramdisk_addr_r=0x88080000
+pxefile_addr_r=0x80100000
+scriptaddr=0x80100000
index 7aac5d3f5a184eb846a670e68c4cb76d0a2574f1..f0586f7f721ba19c8cea572f875ed353e1edde1d 100644 (file)
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #endif
 
-#define CONFIG_EXTRA_ENV_SETTINGS \
-       "kernel_addr_r=0x82000000\0" \
-       "ramdisk_addr_r=0x88080000\0" \
-       "pxefile_addr_r=0x80100000\0" \
-       "scriptaddr=0x80100000\0" \
-       "bootdelay=3\0" \
-       "ethact=" CONFIG_ETHPRIME "\0" \
-       "hostname=" CONFIG_HOSTNAME "\0" \
-       BOOTENV
+#define CONFIG_EXTRA_ENV_SETTINGS BOOTENV
 
 #endif /* __KONTRON_MX6UL_CONFIG_H */