diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2017-08-14 20:22:17 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-15 00:06:06 +0300 |
commit | 5abc1a4523a5509ce37bc3ec818b660a48f4eafd (patch) | |
tree | a66f3c175919f8228f60e60a821e4a3fce3ede0c /include/configs/M54418TWR.h | |
parent | aa6aaf93211b7e22361e75f1068e1e565e731f25 (diff) | |
download | u-boot-5abc1a4523a5509ce37bc3ec818b660a48f4eafd.tar.xz |
common: Move CONFIG_BOOTARGS to Kconfig
Also introduce CONFIG_USE_BOOTARGS option so we can control if
CONFIG_BOOTARGS defined at all.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
[trini: Resync r8a779[56]_ulcb, various ls10xx targets]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/M54418TWR.h')
-rw-r--r-- | include/configs/M54418TWR.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h index 7552f4daf6..6822b4c6d3 100644 --- a/include/configs/M54418TWR.h +++ b/include/configs/M54418TWR.h @@ -67,22 +67,6 @@ #define CONFIG_SYS_FEC0_PHYADDR 0 #define CONFIG_SYS_FEC1_PHYADDR 1 - -#ifdef CONFIG_SYS_NAND_BOOT -#define CONFIG_BOOTARGS "root=/dev/mtdblock2 rw rootfstype=jffs2 " \ - "mtdparts=NAND:1M(u-boot)ro,7M(kernel)ro," \ - "-(jffs2) console=ttyS0,115200" -#else -#define CONFIG_BOOTARGS "root=/dev/nfs rw nfsroot=" \ - __stringify(CONFIG_SERVERIP) ":/tftpboot/" \ - __stringify(CONFIG_IPADDR) " ip=" \ - __stringify(CONFIG_IPADDR) ":" \ - __stringify(CONFIG_SERVERIP)":" \ - __stringify(CONFIG_GATEWAYIP)": " \ - __stringify(CONFIG_NETMASK) \ - "::eth0:off:rw console=ttyS0,115200" -#endif - #define CONFIG_ETHPRIME "FEC0" #define CONFIG_IPADDR 192.168.1.2 #define CONFIG_NETMASK 255.255.255.0 |