Skip to contentSkip to conversation

armv8: ls1088a: Move CONFIG_BOOTARGS and CONFIG_CMD_GREPENV to defconfig

PATCH Superseded Ashish Kumar 1 participant 2 messages Jan 19, 2018 – Jan 21, 2018 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 armv8: ls1088a: Move CONFIG_BOOTARGS and CONFIG_CMD_GREPENV to defconfig

---
 configs/ls1088aqds_defconfig                         | 3 +++
 configs/ls1088aqds_qspi_SECURE_BOOT_defconfig        | 3 +++
 configs/ls1088aqds_qspi_defconfig                    | 3 +++
 configs/ls1088aqds_sdcard_ifc_defconfig              | 3 +++
 configs/ls1088aqds_sdcard_qspi_defconfig             | 3 +++
 configs/ls1088ardb_qspi_SECURE_BOOT_defconfig        | 3 +++
 configs/ls1088ardb_qspi_defconfig                    | 3 +++
 configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 3 +++
 configs/ls1088ardb_sdcard_qspi_defconfig             | 3 +++
 include/configs/ls1088a_common.h                     | 5 -----
 10 files changed, 27 insertions(+), 5 deletions(-)
configs/ls1088aqds_defconfig +3 -0
index 5624595..323f89d 100644
@@ -9,6 +9,9 @@ CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_I2C=y
configs/ls1088aqds_qspi_SECURE_BOOT_defconfig +3 -0
index e464951..eba112a 100644
@@ -3,6 +3,9 @@ CONFIG_TARGET_LS1088AQDS=y
 CONFIG_SECURE_BOOT=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1088a-qds"
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
configs/ls1088aqds_qspi_defconfig +3 -0
index 1e368d7..a93c60c 100644
@@ -8,6 +8,9 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4, QSPI_BOOT"
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
configs/ls1088aqds_sdcard_ifc_defconfig +3 -0
index 5f175f8..69adffd 100644
@@ -14,6 +14,9 @@ CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
 CONFIG_SD_BOOT=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_SPL=y
 CONFIG_SPL_BUILD=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
configs/ls1088aqds_sdcard_qspi_defconfig +3 -0
index b6de10c..3fc9354 100644
@@ -13,6 +13,9 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_EXTRA_OPTIONS="SD_BOOT_QSPI"
 CONFIG_SD_BOOT=y
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_SPL=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0
configs/ls1088ardb_qspi_SECURE_BOOT_defconfig +3 -0
index 19c76b6..812a9a6 100644
@@ -3,6 +3,9 @@ CONFIG_TARGET_LS1088ARDB=y
 CONFIG_SECURE_BOOT=y
 CONFIG_FSL_LS_PPA=y
 CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1088a-rdb"
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_DISTRO_DEFAULTS=y
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_FIT_VERBOSE=y
configs/ls1088ardb_qspi_defconfig +3 -0
index 8a08846..4ec755a 100644
@@ -10,6 +10,9 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4, QSPI_BOOT"
 # CONFIG_USE_BOOTCOMMAND is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig +3 -0
index a4afbb5..d2ff299 100644
@@ -16,6 +16,9 @@ CONFIG_SYS_EXTRA_OPTIONS="SD_BOOT_QSPI"
 CONFIG_SD_BOOT=y
 # CONFIG_USE_BOOTCOMMAND is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_SPL=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0
configs/ls1088ardb_sdcard_qspi_defconfig +3 -0
index 2f8c097..d6a5ad3 100644
@@ -15,6 +15,9 @@ CONFIG_SYS_EXTRA_OPTIONS="SD_BOOT_QSPI"
 CONFIG_SD_BOOT=y
 # CONFIG_USE_BOOTCOMMAND is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_USE_BOOTARGS=y
+CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 ramdisk_size=0x3000000 default_hugepagesz=2m hugepagesz=2m hugepages=256"
+CONFIG_CMD_GREPENV=y
 CONFIG_SPL=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x8b0
include/configs/ls1088a_common.h +0 -5
index 61c30c9..1178fec 100644
@@ -166,7 +166,6 @@ unsigned long long get_qixis_addr(void);
 #define CONFIG_SYS_LS_MC_DRAM_BLOCK_MIN_SIZE		(512UL * 1024 * 1024)
 #endif
 /* Command line configuration */
-#define CONFIG_CMD_GREPENV
 #define CONFIG_CMD_CACHE
 
 /* Miscellaneous configurable options */
@@ -213,10 +212,6 @@ unsigned long long get_qixis_addr(void);
 	"mcinitcmd=fsl_mc start mc 0x580a00000"	\
 	" 0x580e00000 \0"
 
-#define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
-				"earlycon=uart8250,mmio,0x21c0500 " \
-				"ramdisk_size=0x3000000 default_hugepagesz=2m" \
-				" hugepagesz=2m hugepages=256"
 #if defined(CONFIG_QSPI_BOOT)
 #define CONFIG_BOOTCOMMAND	"sf probe 0:0;" \
 				"sf read 0x80200000 0xd00000 0x100000;"\
Signature · 1 line
2.7.4

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

PATCH 4/4 armv8: ls1088: Add CONFIG_SPI_FLASH_SPANSION to sdcard defconfigs

Hello all,

It should be [PATCH 1/1]. This is not part of any patch set

Regards
Ashish

Quoted 50 lines

-----Original Message-----
From: Ashish Kumar [mailto:Ashish.Kumar at nxp.com]
Sent: Friday, January 19, 2018 3:54 PM
To: u-boot at lists.denx.de
Cc: York Sun <[email protected]>; Ashish Kumar <[email protected]>
Subject: [PATCH 4/4] armv8: ls1088: Add CONFIG_SPI_FLASH_SPANSION to sdcard defconfigs

---
 configs/ls1088aqds_sdcard_qspi_defconfig             | 1 +
 configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig | 1 +
 configs/ls1088ardb_sdcard_qspi_defconfig             | 1 +
 3 files changed, 3 insertions(+)
configs/ls1088aqds_sdcard_qspi_defconfig +0 -0
index 05fd124..d9f5407 100644
@@ -39,6 +39,7 @@ CONFIG_NET_RANDOM_ETHADDR=y  CONFIG_DM=y

CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y

configs/ls1088aqds_sdcard_qspi_defconfig +1 -0
+CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
 CONFIG_PCI=y
configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig +0 -0
index 477006f..5c36981 100644
@@ -40,6 +40,7 @@ CONFIG_NET_RANDOM_ETHADDR=y  CONFIG_DM=y

CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y

configs/ls1088ardb_sdcard_qspi_SECURE_BOOT_defconfig +1 -0
+CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
 CONFIG_SYS_NS16550=y
configs/ls1088ardb_sdcard_qspi_defconfig +0 -0
index ea72708..49c80b7 100644
@@ -40,6 +40,7 @@ CONFIG_NET_RANDOM_ETHADDR=y  CONFIG_DM=y

CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_SPANSION=y
CONFIG_NETDEVICES=y
CONFIG_E1000=y
CONFIG_PCI=y
--
2.7.4