Convert CONFIG_SYS_BARGSIZE to Kconfig
authorTom Rini <trini@konsulko.com>
Thu, 12 May 2022 14:02:06 +0000 (10:02 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jun 2022 16:09:00 +0000 (12:09 -0400)
This converts the following to Kconfig:
   CONFIG_SYS_BARGSIZE

Signed-off-by: Tom Rini <trini@konsulko.com>
87 files changed:
Kconfig
README
boot/image-board.c
configs/eb_cpu5282_defconfig
configs/eb_cpu5282_internal_defconfig
configs/gazerbeam_defconfig
configs/ids8313_defconfig
configs/stmark2_defconfig
include/configs/am3517_evm.h
include/configs/apalis-imx8.h
include/configs/apalis-tk1.h
include/configs/apalis_t30.h
include/configs/ax25-ae350.h
include/configs/bcm_ns3.h
include/configs/capricorn-common.h
include/configs/ci20.h
include/configs/colibri-imx8x.h
include/configs/colibri_t20.h
include/configs/colibri_t30.h
include/configs/colibri_vf.h
include/configs/da850evm.h
include/configs/devkit3250.h
include/configs/devkit8000.h
include/configs/display5.h
include/configs/eb_cpu5282.h
include/configs/edison.h
include/configs/exynos-common.h
include/configs/exynos7420-common.h
include/configs/exynos78x0-common.h
include/configs/gazerbeam.h
include/configs/highbank.h
include/configs/ids8313.h
include/configs/imx27lite-common.h
include/configs/imx8mm-cl-iot-gate.h
include/configs/imx8mm_beacon.h
include/configs/imx8mm_data_modul_edm_sbc.h
include/configs/imx8mm_evk.h
include/configs/imx8mm_icore_mx8mm.h
include/configs/imx8mm_venice.h
include/configs/imx8mn_beacon.h
include/configs/imx8mn_bsh_smm_s2_common.h
include/configs/imx8mn_evk.h
include/configs/imx8mn_var_som.h
include/configs/imx8mn_venice.h
include/configs/imx8mp_dhcom_pdk2.h
include/configs/imx8mp_evk.h
include/configs/imx8mp_rsb3720.h
include/configs/imx8mp_venice.h
include/configs/imx8mq_cm.h
include/configs/imx8mq_evk.h
include/configs/imx8mq_phanbell.h
include/configs/imx8qxp_mek.h
include/configs/imx8ulp_evk.h
include/configs/km/keymile-common.h
include/configs/legoev3.h
include/configs/ls1021atsn.h
include/configs/ls1028a_common.h
include/configs/ls1088a_common.h
include/configs/lx2160a_common.h
include/configs/m53menlo.h
include/configs/mx53ppd.h
include/configs/mxs.h
include/configs/octeontx2_common.h
include/configs/octeontx_common.h
include/configs/omapl138_lcdk.h
include/configs/owl-common.h
include/configs/phycore_imx8mm.h
include/configs/phycore_imx8mp.h
include/configs/pico-imx8mq.h
include/configs/presidio_asic.h
include/configs/rcar-gen3-common.h
include/configs/s5p4418_nanopi2.h
include/configs/siemens-am33x-common.h
include/configs/socfpga_common.h
include/configs/socfpga_soc64_common.h
include/configs/stmark2.h
include/configs/tegra-common.h
include/configs/ti_armv7_common.h
include/configs/tplink_wdr4300.h
include/configs/uniphier.h
include/configs/verdin-imx8mm.h
include/configs/verdin-imx8mp.h
include/configs/work_92105.h
include/configs/xenguest_arm64.h
include/configs/xilinx_versal.h
include/configs/xilinx_zynqmp.h
include/configs/xtfpga.h

diff --git a/Kconfig b/Kconfig
index f7e3c33..f017968 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -228,6 +228,14 @@ config SYS_BOOT_GET_CMDLINE
          Enables allocating and saving kernel cmdline in space between
          "bootm_low" and "bootm_low" + BOOTMAPSZ.
 
+config SYS_BARGSIZE
+       int "Size of kernel command line buffer in bytes"
+       depends on SYS_BOOT_GET_CMDLINE
+       default 512
+       help
+         Buffer size for Boot Arguments which are passed to the application
+         (usually a Linux kernel) when it is booted
+
 config SYS_BOOT_GET_KBD
        bool "Enable kernel board information setup"
        help
diff --git a/README b/README
index e738fa9..e686839 100644 (file)
--- a/README
+++ b/README
@@ -1853,10 +1853,6 @@ Configuration Settings:
 - CONFIG_SYS_PROMPT:   This is what U-Boot prints on the console to
                prompt for user input.
 
-- CONFIG_SYS_BARGSIZE: Buffer size for Boot Arguments which are passed to
-               the application (usually a Linux kernel) when it is
-               booted
-
 - CONFIG_SYS_BAUDRATE_TABLE:
                List of legal baudrate settings for this board.
 
index 0d2e0fc..cfc1c65 100644 (file)
 #include <asm/cache.h>
 #include <asm/global_data.h>
 
-#ifndef CONFIG_SYS_BARGSIZE
-#define CONFIG_SYS_BARGSIZE 512
-#endif
-
 DECLARE_GLOBAL_DATA_PTR;
 
 #if CONFIG_IS_ENABLED(LEGACY_IMAGE_FORMAT)
@@ -827,6 +823,7 @@ int boot_get_loadable(int argc, char *const argv[], bootm_headers_t *images,
        return 0;
 }
 
+#ifdef CONFIG_SYS_BOOT_GET_CMDLINE
 /**
  * boot_get_cmdline - allocate and initialize kernel cmdline
  * @lmb: pointer to lmb handle, will be used for memory mgmt
@@ -900,6 +897,7 @@ int boot_get_kbd(struct lmb *lmb, struct bd_info **kbd)
 
        return 0;
 }
+#endif
 
 int image_setup_linux(bootm_headers_t *images)
 {
index f8c0198..5a33e2f 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_SYS_LOAD_ADDR=0x20000
 CONFIG_ENV_ADDR=0xFF040000
 CONFIG_TARGET_EB_CPU5282=y
 CONFIG_MCFTMR=y
+CONFIG_SYS_BARGSIZE=1024
 CONFIG_SYS_MONITOR_BASE=0xFF000400
 CONFIG_BOOTDELAY=5
 CONFIG_BOOT_RETRY=y
index 93b860d..d23b717 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_SYS_LOAD_ADDR=0x20000
 CONFIG_ENV_ADDR=0xFF040000
 CONFIG_TARGET_EB_CPU5282=y
 CONFIG_MCFTMR=y
+CONFIG_SYS_BARGSIZE=1024
 CONFIG_SYS_MONITOR_BASE=0xF0000418
 CONFIG_BOOTDELAY=5
 CONFIG_BOOT_RETRY=y
index 2f3b29e..c48541a 100644 (file)
@@ -112,6 +112,7 @@ CONFIG_SYS_FPGA_FLAVOR_GAZERBEAM=y
 CONFIG_CMD_IOLOOP=y
 CONFIG_SYS_MEMTEST_START=0x00001000
 CONFIG_SYS_MEMTEST_END=0x07e00000
+CONFIG_SYS_BARGSIZE=1024
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_FIT_VERBOSE=y
index c885de7..b8070e7 100644 (file)
@@ -119,6 +119,7 @@ CONFIG_ACR_PIPE_DEP_4=y
 CONFIG_ACR_RPTCNT_4=y
 CONFIG_LCRR_EADC_1=y
 CONFIG_LCRR_CLKDIV_2=y
+CONFIG_SYS_BARGSIZE=1024
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
 CONFIG_LEGACY_IMAGE_FORMAT=y
index 64ac661..e56ca93 100644 (file)
@@ -8,6 +8,7 @@ CONFIG_DEFAULT_DEVICE_TREE="stmark2"
 CONFIG_SYS_LOAD_ADDR=0x40010000
 CONFIG_TARGET_STMARK2=y
 CONFIG_MCFTMR=y
+CONFIG_SYS_BARGSIZE=256
 CONFIG_TIMESTAMP=y
 CONFIG_SYS_MONITOR_BASE=0x47E00400
 CONFIG_USE_BOOTARGS=y
index 8b96f81..db32987 100644 (file)
@@ -86,9 +86,6 @@
 
 /* Miscellaneous configurable options */
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* memtest works on */
 
 /* Physical Memory Map */
index 837c344..3a0d196 100644 (file)
@@ -73,6 +73,4 @@
 #define PHYS_SDRAM_1_SIZE              SZ_2G           /* 2 GB */
 #define PHYS_SDRAM_2_SIZE              SZ_2G           /* 2 GB */
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #endif /* __APALIS_IMX8_H */
index ee9e9b2..19e6a1e 100644 (file)
                "source ${loadaddr}\0" \
        "vidargs=fbcon=map:1\0"
 
-/* Increase arguments buffer size */
-#undef CONFIG_SYS_BARGSIZE
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 46ccea9..104c413 100644 (file)
 /* PCI networking support */
 #define CONFIG_E1000_NO_NVM
 
-/* Increase arguments buffer size */
-#undef CONFIG_SYS_BARGSIZE
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-
 #define UBOOT_UPDATE \
        "uboot_hwpart=1\0" \
        "uboot_blk=0\0" \
index 16545ca..633be8f 100644 (file)
  * Miscellaneous configurable options
  */
 
-/*
- * Boot Argument Buffer Size
- */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-
 /* DT blob (fdt) address */
 #define CONFIG_SYS_FDT_BASE            0x800f0000
 
index 85d8e31..87c9f5e 100644 (file)
@@ -29,8 +29,6 @@
 /* console configuration */
 #define CONFIG_SYS_NS16550_CLK         25000000
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /*
  * Increase max uncompressed/gunzip size, keeping size same as EMMC linux
  * partition.
index 5731a9e..63d02c5 100644 (file)
 #define PHYS_SDRAM_1_SIZE              0x40000000      /* 1 GB */
 #define PHYS_SDRAM_2_SIZE              0x00000000      /* 0 GB */
 
-/* Console buffer and boot args */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define BOOTAUX_RESERVED_MEM_BASE      0x88000000
 #define BOOTAUX_RESERVED_MEM_SIZE      SZ_128M /* Reserve from second 128MB */
 
index 016e107..4af1149 100644 (file)
@@ -28,9 +28,6 @@
 #define DM9000_IO                      CONFIG_DM9000_BASE
 #define DM9000_DATA                    (CONFIG_DM9000_BASE + 2)
 
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-                                               /* Boot argument buffer size */
-
 /* Miscellaneous configuration options */
 #define CONFIG_SYS_BOOTM_LEN           (64 << 20)
 
index c94c704..852e816 100644 (file)
 #define PHYS_SDRAM_1_SIZE              SZ_2G           /* 2 GB */
 #define PHYS_SDRAM_2_SIZE              0x00000000      /* 0 GB */
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* Generic Timer Definitions */
 
 #define BOOTAUX_RESERVED_MEM_BASE 0x88000000
index 315e959..1e6561d 100644 (file)
        "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
        UBOOT_UPDATE
 
-/* Increase arguments buffer size */
-#undef CONFIG_SYS_BARGSIZE
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-
 #include "tegra-common-post.h"
 
 #endif /* __CONFIG_H */
index 36e01dd..c9d384e 100644 (file)
 #define CONFIG_TEGRA_ENABLE_UARTA
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-/* Increase arguments buffer size */
-#undef CONFIG_SYS_BARGSIZE
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-
 #define UBOOT_UPDATE \
        "uboot_hwpart=1\0" \
        "uboot_blk=0\0" \
index d739e46..7c313f9 100644 (file)
@@ -82,7 +82,6 @@
        "video-mode=dcufb:640x480-16@60,monitor=lcd\0"
 
 /* Miscellaneous configurable options */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 /* Physical memory map */
 #define PHYS_SDRAM                     (0x80000000)
index 842158a..12f5bbf 100644 (file)
 /*
  * U-Boot general configuration
  */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE /* Boot Args Buffer Size */
 
 /*
  * Linux Information
index 5e8310c..93a704c 100644 (file)
@@ -64,7 +64,6 @@
 /*
  * U-Boot General Configurations
  */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 /*
  * Pass open firmware flat tree
index 5dbd126..efb20ea 100644 (file)
                        "fi; " \
                "else run nandboot; fi\0"
 
-/* Boot Argument Buffer Size */
-
 /* Defines for SPL */
 
 /* NAND boot config */
index 3737503..93dcec5 100644 (file)
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_STANDALONE_LOAD_ADDR    0x10001000
 
 /* Physical Memory Map */
index 5ad769c..9374928 100644 (file)
@@ -29,8 +29,6 @@
  * Environment is in the second sector of the first 256k of flash      *
  *----------------------------------------------------------------------*/
 
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-
 /*#define CONFIG_SYS_DRAM_TEST         1 */
 #undef CONFIG_SYS_DRAM_TEST
 
index a6ec638..34536ec 100644 (file)
@@ -10,8 +10,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_STACK_SIZE                  (32 * 1024)
 
 #define CONFIG_SYS_MONITOR_LEN                 (256 * 1024)
index 7411552..cbcef26 100644 (file)
@@ -27,7 +27,4 @@
 
 /* Miscellaneous configurable options */
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #endif /* __CONFIG_H */
index f9db9a2..e8aed56 100644 (file)
@@ -17,9 +17,6 @@
 
 /* Miscellaneous configurable options */
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* select serial console configuration */
 
 /* IRAM Layout */
index b443370..3c2a293 100644 (file)
@@ -20,9 +20,6 @@
 
 /* Miscellaneous configurable options */
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CPU_RELEASE_ADDR               secondary_boot_addr
 
 #define CONFIG_SYS_BAUDRATE_TABLE \
index b158918..040fd00 100644 (file)
@@ -58,8 +58,6 @@
  * Miscellaneous configurable options
  */
 
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-
 /*
  * For booting Linux, the board info and command line data
  * have to be in the first 256 MB of memory, since this is
index 98b17af..200cba3 100644 (file)
@@ -19,7 +19,6 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 #define CONFIG_SYS_64BIT_LBA
 
index 0bd09c0..3fd441e 100644 (file)
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 #define CONFIG_LOADS_ECHO
 #undef CONFIG_SYS_LOADS_BAUD_CHANGE
index 0c8f9fa..009c3cc 100644 (file)
 /*
  * U-Boot general configuration
  */
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-
 #define        CONFIG_EXTRA_ENV_SETTINGS                                       \
        "netdev=eth0\0"                                                 \
        "nfsargs=setenv bootargs root=/dev/nfs rw "                     \
index 3b07e92..c8875da 100644 (file)
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(3)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* USDHC */
 
 #define CONFIG_SYS_FSL_USDHC_NUM       2
index e704fc5..ddd19cc 100644 (file)
@@ -93,5 +93,4 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 #endif
index deae85f..6c5dbd7 100644 (file)
@@ -43,8 +43,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART3_BASE_ADDR
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* PHY needs a longer autonegotiation timeout after reset */
 #define PHY_ANEG_TIMEOUT               20000
 
index 6c6a5b2..5de1a77 100644 (file)
@@ -70,8 +70,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_FEC_MXC_PHYADDR          0
 
 #endif
index 590c764..63bd865 100644 (file)
@@ -68,8 +68,6 @@
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* USDHC */
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
index 51e3406..f69678f 100644 (file)
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
+/* FEC */
+#define CONFIG_FEC_MXC_PHYADDR          0
+#define FEC_QUIRK_ENET_MAC
 
 #endif
index 5b45de1..11dd56c 100644 (file)
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
 #endif
index 8b5a277..367b9ee 100644 (file)
@@ -47,8 +47,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART4_BASE_ADDR
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* I2C */
 
 #endif /* __IMX8MN_BSH_SMM_S2_COMMON_H */
index 4cc9ab0..b0bcd02 100644 (file)
@@ -77,6 +77,4 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #endif
index a518bbf..7f7def8 100644 (file)
@@ -66,8 +66,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(4)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* USDHC */
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 
index 538b23a..4641996 100644 (file)
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
+/* FEC */
+#define CONFIG_FEC_MXC_PHYADDR          0
+#define FEC_QUIRK_ENET_MAC
 
 #endif
index d5df08f..18ccc6f 100644 (file)
@@ -41,9 +41,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART1_BASE_ADDR
 
-/* Monitor Command Prompt */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* PHY needs a longer autonegotiation timeout after reset */
 #define PHY_ANEG_TIMEOUT               20000
 #define FEC_QUIRK_ENET_MAC
index e9392c6..3ec4fb1 100644 (file)
@@ -81,6 +81,4 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(2)
 
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-
 #endif
index bc0d297..31f23e3 100644 (file)
 
 #define CONFIG_MXC_UART_BASE           UART3_BASE_ADDR
 
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 
index c910d42..e693bbe 100644 (file)
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART2_BASE_ADDR
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* FEC */
 #define FEC_QUIRK_ENET_MAC
 
index ccaf76c..b8c0717 100644 (file)
@@ -73,8 +73,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(1)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_FSL_USDHC_NUM               2
 #define CONFIG_SYS_FSL_ESDHC_ADDR       0
 
index 532fa77..32ea06c 100644 (file)
@@ -79,8 +79,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(1)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #define CONFIG_SYS_FSL_ESDHC_ADDR       0
 
index 2b2829f..fcfd794 100644 (file)
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(1)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #define CONFIG_SYS_FSL_ESDHC_ADDR       0
 
index c8decee..8eb6ab8 100644 (file)
 #endif
 
 /* Misc configuration */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
 
 #endif /* __IMX8QXP_MEK_H */
index 3f99c6b..66bf816 100644 (file)
@@ -70,8 +70,6 @@
 #define PHYS_SDRAM                     0x80000000
 #define PHYS_SDRAM_SIZE                        0x80000000 /* 2GB DDR */
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* Using ULP WDOG for reset */
 #define WDOG_BASE_ADDR                 WDG3_RBASE
 #endif
index 76895b4..64d121b 100644 (file)
@@ -12,7 +12,6 @@
 /*
  * Miscellaneous configurable options
  */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 #define CONFIG_HUSH_INIT_VAR
 
index 8e0b6d1..a717bb0 100644 (file)
@@ -50,7 +50,6 @@
 /*
  * U-Boot general configuration
  */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE /* Boot Args Buffer Size */
 
 /*
  * Linux Information
index 2b90c1d..577ba6d 100644 (file)
 /* Miscellaneous configurable options */
 #define CONFIG_SYS_BOOTMAPSZ           (256 << 20)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_LS102XA_STREAM_ID
 
 #define CONFIG_SYS_INIT_SP_OFFSET \
index e4b86c2..5b198ad 100644 (file)
@@ -58,8 +58,6 @@
        "run emmc_hdploadcmd; run distro_bootcmd;run emmc_bootcmd; " \
        "env exists secureboot && esbc_halt;"
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE /* Boot args buffer */
-
 #define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /* Increase max gunzip size */
 
 #define OCRAM_NONSECURE_SIZE           0x00010000
index a9922f1..78d3d57 100644 (file)
@@ -148,8 +148,6 @@ unsigned long long get_qixis_addr(void);
        " 0x580e00000 \0"
 #endif
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE /* Boot args buffer */
-
 #ifdef CONFIG_SPL
 #define CONFIG_SPL_BSS_START_ADDR      0x80100000
 #define CONFIG_SPL_BSS_MAX_SIZE                0x00100000
index bc210da..5717a3d 100644 (file)
 #define CONFIG_HWCONFIG
 #define HWCONFIG_BUFFER_SIZE           128
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE /* Boot args buffer */
-
 #define CONFIG_SYS_BOOTM_LEN   (64 << 20)      /* Increase max gunzip size */
 
 /* Initial environment variables */
index 50941b8..0e89dae 100644 (file)
@@ -32,8 +32,6 @@
 /*
  * U-Boot general configurations
  */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-                                               /* Boot argument buffer size */
 
 /*
  * Serial Driver
index 002a3e5..46b4cce 100644 (file)
@@ -87,8 +87,6 @@
 
 /* Miscellaneous configurable options */
 
-#define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
-
 #define CONFIG_SYS_BOOTMAPSZ (256 << 20)     /* 256M */
 
 /* Physical Memory Map */
index 7065992..5118c53 100644 (file)
@@ -78,8 +78,6 @@
  */
 
 /* U-Boot general configuration */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-                                               /* Boot argument buffer size */
 
 /*
  * Drivers
index f30851c..4df3be1 100644 (file)
@@ -22,8 +22,6 @@
                                        "ethrotate=yes\0"       \
                                        "autoload=0\0"
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT   8192
 
 #if defined(CONFIG_MMC_OCTEONTX)
index f79c1c4..959f3d1 100644 (file)
@@ -53,8 +53,6 @@
 # define CONFIG_SYS_64BIT_LBA
 #endif
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_MMC_MAX_BLK_COUNT   8192
 
 /** EMMC specific defines */
index a1264bf..b7698c8 100644 (file)
 /*
  * U-Boot general configuration
  */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE /* Boot Args Buffer Size */
 
 /*
  * USB Configs
index d6948cc..0372bd7 100644 (file)
@@ -23,6 +23,5 @@
 #define CONFIG_SYS_INIT_SP_ADDR                (CONFIG_SYS_TEXT_BASE + 0x7ff00)
 
 /* Console configuration */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 #endif
index 4eec7fb..df17531 100644 (file)
@@ -86,6 +86,4 @@
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(3)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #endif /* __PHYCORE_IMX8MM_H */
index 6c59e7b..8247c7c 100644 (file)
@@ -86,6 +86,4 @@
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(1)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #endif /* __PHYCORE_IMX8MP_H */
index a586e60..d59f70a 100644 (file)
@@ -86,8 +86,6 @@
 
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(1)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 
index dd03c5c..fcec8b0 100644 (file)
@@ -42,7 +42,6 @@
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
 
 /* Console I/O Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 #define KSEG1_ATU_XLAT(x) (x)
 
index ae585bb..e65ab72 100644 (file)
@@ -24,7 +24,6 @@
 #define GICC_BASE      0xF1020000
 
 /* console */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 #define CONFIG_SYS_BAUDRATE_TABLE      { 115200, 38400 }
 
 /* PHY needs a longer autoneg timeout */
index a25dce5..0c2b05d 100644 (file)
@@ -77,9 +77,6 @@
  */
 /* board_init_f->init_sequence, call arch_cpu_init */
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /*-----------------------------------------------------------------------
  * serial console configuration
  */
index 5757b63..322fd24 100644 (file)
@@ -29,9 +29,6 @@
 
 /* Console I/O Buffer Size */
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /*
  * memtest works on 8 MB in DRAM after skipping 32MB from
  * start addr of ram disk
index 4a09983..e8ee539 100644 (file)
@@ -60,8 +60,6 @@
  * U-Boot general configurations
  */
                                                /* Print buffer size */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-                                               /* Boot argument buffer size */
 
 /*
  * Cache
index 14cc708..045e664 100644 (file)
@@ -20,7 +20,6 @@
 /*
  * U-Boot console configurations
  */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 /* Extend size of kernel image for uncompression */
 #define CONFIG_SYS_BOOTM_LEN           (32 * 1024 * 1024)
index 9c453fc..a56bc4e 100644 (file)
@@ -45,9 +45,6 @@
 
 #define CONFIG_PRAM                    2048    /* 2048 KB */
 
-/* Boot Argument Buffer Size    */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #define CONFIG_SYS_MBAR                        0xFC000000
 
 /*
index 55c0f27..eb0359b 100644 (file)
@@ -35,9 +35,6 @@
  */
 #define CONFIG_SYS_MMC_MAX_DEVICE 4
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            (CONFIG_SYS_CBSIZE)
-
 #ifdef CONFIG_ARM64
 #define FDTFILE "nvidia/" CONFIG_DEFAULT_DEVICE_TREE ".dtb"
 #else
index 9e18a6c..90dfb1f 100644 (file)
@@ -89,9 +89,6 @@
 /* As stated above, the following choices are optional. */
 
 /* Console I/O Buffer Size */
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /*
  * When we have SPI, NOR or NAND flash we expect to be making use of
  * mtdparts, both for ease of use in U-Boot and for passing information
index 30f8376..bdb77cf 100644 (file)
@@ -27,8 +27,6 @@
  * Command
  */
 /* Miscellaneous configurable options */
-#define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
-                                               /* Boot argument buffer size */
 
 /* USB, USB storage, USB ethernet */
 #define CONFIG_EHCI_MMIO_BIG_ENDIAN
index 9bea5a2..cbdb2d9 100644 (file)
@@ -41,9 +41,6 @@
 
 #define CONFIG_SYS_MONITOR_LEN         0x00200000      /* 2MB */
 
-/* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            (CONFIG_SYS_CBSIZE)
-
 #if !defined(CONFIG_ARM64)
 /* Time clock 1MHz */
 #define CONFIG_SYS_TIMER_RATE                  1000000
index b251e2b..c7de503 100644 (file)
@@ -86,8 +86,6 @@
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(1)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /* ENET */
 #define CONFIG_FEC_MXC_PHYADDR          7
 
index df6dc74..a61192f 100644 (file)
 /* UART */
 #define CONFIG_MXC_UART_BASE           UART_BASE_ADDR(3)
 
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 #endif /* __VERDIN_IMX8MP_H */
index 9b7cc7a..4d46ce0 100644 (file)
@@ -27,7 +27,6 @@
 /*
  * U-Boot General Configurations
  */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 /*
  * NAND chip timings for FIXME: which one?
index 322b2cf..364dae0 100644 (file)
@@ -13,8 +13,6 @@
 
 #undef CONFIG_SYS_SDRAM_BASE
 
-#define CONFIG_SYS_BARGSIZE           CONFIG_SYS_CBSIZE
-
 #undef CONFIG_EXTRA_ENV_SETTINGS
 #define CONFIG_EXTRA_ENV_SETTINGS      \
        "loadimage=ext4load pvblock 0 0x90000000 /boot/Image;\0" \
index d1e2753..3221bd2 100644 (file)
@@ -28,7 +28,6 @@
 /* Miscellaneous configurable options */
 
 /* Console I/O Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 #if defined(CONFIG_CMD_DFU)
 #define DFU_DEFAULT_POLL_TIMEOUT       300
index 2abf96f..31a6beb 100644 (file)
@@ -52,7 +52,6 @@
 #endif
 
 /* Console I/O Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 
 /* Ethernet driver */
 #if defined(CONFIG_ZYNQ_GEM)
index 89b6d19..4218015 100644 (file)
@@ -98,9 +98,6 @@
 /*==============================*/
 
        /* Console I/O Buffer Size  */
-       /* Boot Argument Buffer Size */
-#define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
-
 /*==============================*/
 /* U-Boot autoboot configuration */
 /*==============================*/