From f6b5d51be5d843ef5b9bf0c89ab1d56fcb0dc2d1 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 9 May 2020 16:07:18 +0200 Subject: sh: r2dplus: Enable board_eth_init only for non-DM case The board_eth_init() is not used for DM case, enable it only for the non-DM case. This function should eventually be removed. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- board/renesas/r2dplus/r2dplus.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/renesas/r2dplus/r2dplus.c b/board/renesas/r2dplus/r2dplus.c index e4d0967c14..0bbdb0e33a 100644 --- a/board/renesas/r2dplus/r2dplus.c +++ b/board/renesas/r2dplus/r2dplus.c @@ -46,7 +46,9 @@ void ide_set_reset(int idereset) } } +#ifndef CONFIG_DM_ETH int board_eth_init(bd_t *bis) { return pci_eth_init(bis); } +#endif -- cgit From d8172f606ffd474248172c9a932483913c9f7b7d Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 9 May 2020 20:18:34 +0200 Subject: sh: r2dplus: Enable HUSH Enable richer HUSH shell to make working with the board more pleasant. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r2dplus_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/r2dplus_defconfig b/configs/r2dplus_defconfig index 8ae4ba1a1c..900428a84f 100644 --- a/configs/r2dplus_defconfig +++ b/configs/r2dplus_defconfig @@ -7,8 +7,7 @@ CONFIG_TARGET_R2DPLUS=y CONFIG_BOOTDELAY=-1 CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="console=ttySC0,115200" -# CONFIG_CMDLINE_EDITING is not set -# CONFIG_AUTO_COMPLETE is not set +CONFIG_HUSH_PARSER=y CONFIG_CMD_IMLS=y CONFIG_CMD_DM=y CONFIG_CMD_IDE=y -- cgit