The NAND driver of AXS10x depends on the availability of the bounce buffer. As the NAND driver is gated by CMD_NAND only, we need to select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and TARGET_AXS103.
This change also contains the modification to configs/axs10x.h to avoid redefining BOUNCE_BUFFER there. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arc/Kconfig | 2 ++ include/configs/axs10x.h | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index fa6b344..50369d5 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -146,9 +146,11 @@ config TARGET_NSIM config TARGET_AXS101 bool "Support Synopsys Designware SDP board AXS101" + select BOUNCE_BUFFER if CMD_NAND config TARGET_AXS103 bool "Support Synopsys Designware SDP board AXS103" + select BOUNCE_BUFFER if CMD_NAND config TARGET_EMSDP bool "Synopsys EM Software Development Platform" diff --git a/include/configs/axs10x.h b/include/configs/axs10x.h index 1b2966f..bd1c902 100644 --- a/include/configs/axs10x.h +++ b/include/configs/axs10x.h @@ -82,9 +82,4 @@ * Console configuration */ -/* - * Misc utility configuration - */ -#define CONFIG_BOUNCE_BUFFER - #endif /* _CONFIG_AXS10X_H_ */ -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot