]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_BOOTARGS to Kconfig
authorTom Rini <trini@konsulko.com>
Tue, 16 Jun 2020 23:06:12 +0000 (19:06 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 26 Jun 2020 14:29:05 +0000 (10:29 -0400)
This converts the following to Kconfig:
   CONFIG_BOOTARGS

Signed-off-by: Tom Rini <trini@konsulko.com>
18 files changed:
configs/grpeach_defconfig
configs/imx28_xea_defconfig
configs/sama5d2_icp_mmc_defconfig
configs/socfpga_agilex_defconfig
configs/socfpga_secu1_defconfig
configs/socfpga_stratix10_defconfig
configs/stmark2_defconfig
configs/wb45n_defconfig
configs/wb50n_defconfig
include/configs/grpeach.h
include/configs/sama5d27_som1_ek.h
include/configs/sama5d2_icp.h
include/configs/socfpga_arria5_secu1.h
include/configs/socfpga_soc64_common.h
include/configs/stmark2.h
include/configs/wb45n.h
include/configs/wb50n.h
include/configs/xea.h

index 417938a512ed7d0a046dbd235cbb8c03b9e89032..c4a2b449d6765e0a65034f40088566b2ef5433be 100644 (file)
@@ -9,6 +9,8 @@ CONFIG_DM_GPIO=y
 CONFIG_RZA1=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_BOOTDELAY=3
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="ignore_loglevel"
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_ELF is not set
index d4feb661629f3b5d1bf2594411399f9fbf11804f..592f3e387cc02b981658a2c8d40da83eb1c5e474 100644 (file)
@@ -22,6 +22,8 @@ CONFIG_SPL_TEXT_BASE=0x1000
 CONFIG_SPL_PAYLOAD="u-boot.img"
 CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyAMA0,115200n8"
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_BOARD_INIT=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
index dc4e815ec1272f1e5855a0c74fdf10f14c355f28..8f3efd81a032970399e3cad30f26bf4587ddee2c 100644 (file)
@@ -25,6 +25,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D2"
 CONFIG_SD_BOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SPL_DISPLAY_PRINT=y
index 35316d7c252fff8ebb78efce82a013f5187de516..60397a8ccea680b02623add96b807f68ffa60138 100644 (file)
@@ -12,6 +12,8 @@ CONFIG_IDENT_STRING="socfpga_agilex"
 CONFIG_SPL_FS_FAT=y
 CONFIG_SPL_TEXT_BASE=0xFFE00000
 CONFIG_BOOTDELAY=5
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="earlycon"
 CONFIG_SPL_CACHE=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_HUSH_PARSER=y
index df30c7c5f0e21a3c65ed0e2f81873ddea4f6398d..8ebbf73148a48076cfd40117f10770695b820974 100644 (file)
@@ -14,6 +14,8 @@ CONFIG_SPL_TEXT_BASE=0xFFFF0000
 CONFIG_BUILD_TARGET="u-boot-with-nand-spl.sfp"
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 ubi.fm_autoconvert=1 uio_pdrv_genirq.of_id=\"idq,regbank\""
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
index 21014f9f8cdeedf9aace625e983be6828aa6bbd2..16ae0feb6807095baec493ee1216b921826fdfb4 100644 (file)
@@ -12,6 +12,8 @@ CONFIG_IDENT_STRING="socfpga_stratix10"
 CONFIG_SPL_FS_FAT=y
 CONFIG_SPL_TEXT_BASE=0xFFE00000
 CONFIG_BOOTDELAY=5
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="earlycon"
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="SOCFPGA_STRATIX10 # "
index 036ff707d19a35c5f0a401e9ee3794d3f298acb5..262f169d6cca2f650572b2037fcf41f7993ae503 100644 (file)
@@ -5,6 +5,8 @@ CONFIG_ENV_OFFSET=0x40000
 CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_TARGET_STMARK2=y
 CONFIG_SYS_EXTRA_OPTIONS="CF_SBF,SYS_SERIAL_BOOT,SYS_INPUT_CLKSRC=30000000"
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 rw rootfstype=ramfs rdinit=/bin/init devtmpfs.mount=1"
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMDLINE_EDITING is not set
index ef069a672cc227e17785912c49e94e8de26e326e..0a0120fe5edff00e0fd2381cd177e2545b5717ad 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_SPL_TEXT_BASE=0x300000
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9X5,SYS_USE_NANDFLASH"
 CONFIG_BOOTDELAY=3
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 earlyprintk rw noinitrd mem=64M rootfstype=ubifs root=ubi0:rootfs ubi.mtd=6"
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_HUSH_PARSER=y
index 1b444f07529d4fe78940a49ac56c737e77b1f5d3..b2f490a03c543dbdca8b51280683ebef90e5ad28 100644 (file)
@@ -15,6 +15,8 @@ CONFIG_SPL_TEXT_BASE=0x300000
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="SAMA5D3,SYS_USE_NANDFLASH"
 CONFIG_BOOTDELAY=3
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="rw rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs"
 CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
index bde168d4750547e588614c4d85ac31a72966e98e..67301fabeb627d4321d497e3ddc7f4540ced6aaa 100644 (file)
@@ -29,9 +29,6 @@
 #define CONFIG_SYS_MALLOC_LEN          (1024 * 1024)
 #define CONFIG_SYS_MONITOR_LEN         (512 * 1024)
 
-/* Kernel Boot */
-#define CONFIG_BOOTARGS                        "ignore_loglevel"
-
 /* Network interface */
 #define CONFIG_SH_ETHER_USE_PORT       0
 #define CONFIG_SH_ETHER_PHY_ADDR       0
index 8e98254e2d39b53bb431218ede0c14c8c08f2f62..4d66490cd68f082bd530a772f5f92550b97889c3 100644 (file)
                                "bootz 0x22000000 - 0x21000000"
 #endif
 
-#ifdef CONFIG_QSPI_BOOT
-#undef CONFIG_BOOTARGS
-#define CONFIG_BOOTARGS \
-       "console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait"
-#endif
-
 /* SPL */
 #define CONFIG_SPL_MAX_SIZE            0x10000
 #define CONFIG_SPL_BSS_START_ADDR      0x20000000
index 2d1ba757fe74a160615dc6b86a525b49e800ff4d..7d6886ea73e10fae2d5ec2412671705544f75563 100644 (file)
@@ -44,9 +44,6 @@
 #define CONFIG_BOOTCOMMAND     "fatload mmc 0:1 0x21000000 at91-sama5d2_icp.dtb; " \
                                "fatload mmc 0:1 0x22000000 zImage; " \
                                "bootz 0x22000000 - 0x21000000"
-#undef CONFIG_BOOTARGS
-#define CONFIG_BOOTARGS \
-       "console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait"
 #endif
 
 /* SPL */
index ad4c3c0786c11c89ff961b6c152a0f138afaf620..77914438bfa05352ac81c69a033d98623b937db9 100644 (file)
 /* Booting Linux */
 #define CONFIG_BOOTDELAY       2
 #define CONFIG_BOOTFILE                "zImage"
-#define CONFIG_BOOTARGS                \
-       "console=ttyS0," __stringify(CONFIG_BAUDRATE) \
-       " ubi.fm_autoconvert=1" \
-       " uio_pdrv_genirq.of_id=\"idq,regbank\""
 
 #define CONFIG_BOOTCOMMAND     \
        "setenv bootcmd '"      \
index 7237ec95e345e782752cb50b53fb6635b981091c..775a122f1f12ea9d6afa76c856f639a23b87e780 100644 (file)
@@ -79,7 +79,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
  * CONFIG_BOOTARGS goes into the environment value "bootargs".
  * Do note the value will override also the chosen node in FDT blob.
  */
-#define CONFIG_BOOTARGS "earlycon"
 #define CONFIG_BOOTCOMMAND "run fatscript; run mmcload;run linux_qspi_enable;" \
                           "run mmcboot"
 
index b5bfac77f1b1dc351391657e87c0827583a3aef7..d9c79907acdbf4a0536f5a752d68e87b299a0cc7 100644 (file)
 
 #define CONFIG_TIMESTAMP
 
-#define CONFIG_BOOTARGS                                                \
-       "console=ttyS0,115200 root=/dev/ram0 rw "               \
-               "rootfstype=ramfs "                             \
-               "rdinit=/bin/init "                             \
-               "devtmpfs.mount=1"
-
 #define CONFIG_BOOTCOMMAND                                     \
        "sf probe 0:1 50000000; "                               \
        "sf read ${loadaddr} 0x100000 ${kern_size}; "           \
index 8b333de8cffd66f4359aab96b06351ab98ae8240..6ae777507f8f73cd76ff4d2472853f1c7bb10c31 100644 (file)
 #error No boot method selected, please select 'CONFIG_SYS_USE_NANDFLASH'
 #endif
 
-#define CONFIG_BOOTARGS     "console=ttyS0,115200 earlyprintk " \
-                            "rw noinitrd mem=64M "              \
-                            "rootfstype=ubifs root=ubi0:rootfs ubi.mtd=6"
-
 #define CONFIG_EXTRA_ENV_SETTINGS       \
     "_mtd=mtdparts default; setenv bootargs ${bootargs} ${mtdparts}\0" \
     "autoload=no\0" \
index a210449dae4972f09e5248741f21e0b29eff5263..c65e59134257df584d75aa74c957641294031da2 100644 (file)
@@ -69,9 +69,6 @@
     "nand read 0x22000000 0x000e0000 0x500000; " \
     "bootm"
 
-#define CONFIG_BOOTARGS \
-    "rw rootfstype=ubifs ubi.mtd=6 root=ubi0:rootfs"
-
 #define CONFIG_SYS_CBSIZE           1024
 #define CONFIG_SYS_MAXARGS          16
 #define CONFIG_SYS_PBSIZE \
index 65109566d3b868719fd3e8f009d42385835b2e5d..144f62e8f980d873eeea8c9002b583ccd4a0674a 100644 (file)
@@ -43,7 +43,6 @@
 
 /* Booting Linux */
 #define CONFIG_BOOTFILE                "uImage"
-#define CONFIG_BOOTARGS                "console=ttyAMA0,115200n8 "
 #define CONFIG_BOOTCOMMAND     "run ${bootpri} ; run ${bootsec}"
 #define CONFIG_LOADADDR                0x42000000
 #define CONFIG_SYS_LOAD_ADDR   CONFIG_LOADADDR