diff options
author | Codrin Ciubotariu <codrin.ciubotariu@microchip.com> | 2018-08-21 15:46:06 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-25 21:49:18 -0400 |
commit | 3549466e55bb3aa408fd245ebf6f67de9a7f7c63 (patch) | |
tree | 5c11d13e124b2b60e5888cf52561e9f2b18e7919 | |
parent | f97bf157c5fab330b2b3136d5ce908fe965d8e40 (diff) | |
download | u-boot-3549466e55bb3aa408fd245ebf6f67de9a7f7c63.tar.gz |
configs: sama5d27_som1_ek: Set CONFIG_BOOTARGS using Kconfig
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>
-rw-r--r-- | configs/sama5d27_som1_ek_mmc_defconfig | 2 | ||||
-rw-r--r-- | include/configs/sama5d27_som1_ek.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/configs/sama5d27_som1_ek_mmc_defconfig b/configs/sama5d27_som1_ek_mmc_defconfig index 56c7252841..3607470de5 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_MISC_INIT_R=y # CONFIG_DISPLAY_BOARDINFO is not set CONFIG_SPL_SEPARATE_BSS=y diff --git a/include/configs/sama5d27_som1_ek.h b/include/configs/sama5d27_som1_ek.h index ef1a6f966f..6382a015d0 100644 --- a/include/configs/sama5d27_som1_ek.h +++ b/include/configs/sama5d27_som1_ek.h @@ -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 |