diff mbox series

[U-Boot,2/3] configs: sama5d27_som1_ek: Set CONFIG_BOOTARGS using Kconfig

Message ID 20180821124607.10289-3-codrin.ciubotariu@microchip.com
State Accepted
Delegated to: Tom Rini
Headers show
Series configs: sama5d27_som1_ek: Cleanup and new | expand

Commit Message

Codrin Ciubotariu Aug. 21, 2018, 12:46 p.m. UTC
CONFIG_BOOTARGS can be set using Kconfig, so we no longer need it
in the config files.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
---
 configs/sama5d27_som1_ek_mmc_defconfig | 2 ++
 include/configs/sama5d27_som1_ek.h     | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

Comments

Tom Rini Sept. 26, 2018, 12:43 p.m. UTC | #1
On Tue, Aug 21, 2018 at 03:46:06PM +0300, Codrin Ciubotariu wrote:

> CONFIG_BOOTARGS can be set using Kconfig, so we no longer need it
> in the config files.
> 
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/sama5d27_som1_ek_mmc_defconfig b/configs/sama5d27_som1_ek_mmc_defconfig
index 53d4b7ce0ca..8e50cef8dbc 100644
--- a/configs/sama5d27_som1_ek_mmc_defconfig
+++ b/configs/sama5d27_som1_ek_mmc_defconfig
@@ -22,6 +22,8 @@  CONFIG_FIT=y
 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_HUSH_PARSER=y
diff --git a/include/configs/sama5d27_som1_ek.h b/include/configs/sama5d27_som1_ek.h
index 5e2249711de..5b1f77ba24c 100644
--- a/include/configs/sama5d27_som1_ek.h
+++ b/include/configs/sama5d27_som1_ek.h
@@ -44,9 +44,6 @@ 
 #define CONFIG_BOOTCOMMAND	"fatload mmc 0:1 0x21000000 at91-sama5d27_som1_ek.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
 
 #ifdef CONFIG_QSPI_BOOT