]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: sama5d27_som1_ek: Set CONFIG_BOOTARGS using Kconfig
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Tue, 21 Aug 2018 12:46:06 +0000 (15:46 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 26 Sep 2018 01:49:18 +0000 (21:49 -0400)
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
include/configs/sama5d27_som1_ek.h

index 56c72528419ec55d71a1886f1aa87926141e650f..3607470de5aea5860910eb8a24205862404586d1 100644 (file)
@@ -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_MISC_INIT_R=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SPL_SEPARATE_BSS=y
index ef1a6f966ff0906cc5e7742781e7e8bb0b1cd51a..6382a015d0d8c906dce6caff235b95a846f8d0a2 100644 (file)
@@ -41,9 +41,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