From: Marek Vasut Date: Thu, 18 Oct 2018 20:37:51 +0200 Subject: [U-Boot] [PATCH 7/9] ARM: rmobile: Enable cache command on Gen3 In-Reply-To: <20181018183753.15970-1-marek.vasut+renesas@gmail.com> References: <20181018183753.15970-1-marek.vasut+renesas@gmail.com> Message-ID: <20181018183753.15970-7-marek.vasut+renesas@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Hiroyuki Yokoyama This patch enables the cache command, mostly for convenience of testing. Signed-off-by: Hiroyuki Yokoyama Signed-off-by: Marek Vasut --- arch/arm/mach-rmobile/Kconfig | 1 + configs/r8a7795_salvator-x_defconfig | 1 + include/configs/draak.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rmobile/Kconfig b/arch/arm/mach-rmobile/Kconfig index ac08d6eb12..d82023acf3 100644 --- a/arch/arm/mach-rmobile/Kconfig +++ b/arch/arm/mach-rmobile/Kconfig @@ -12,6 +12,7 @@ config RCAR_GEN3 bool "Renesas ARM SoCs R-Car Gen3 (64bit)" select ARM64 select PHY + select CMD_CACHE endchoice diff --git a/configs/r8a7795_salvator-x_defconfig b/configs/r8a7795_salvator-x_defconfig index 40712a44c3..87870fc595 100644 --- a/configs/r8a7795_salvator-x_defconfig +++ b/configs/r8a7795_salvator-x_defconfig @@ -21,6 +21,7 @@ CONFIG_CMD_USB=y CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y +CONFIG_CMD_CACHE=y CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y diff --git a/include/configs/draak.h b/include/configs/draak.h index 5d1da21e99..70c4f166a5 100644 --- a/include/configs/draak.h +++ b/include/configs/draak.h @@ -33,6 +33,5 @@ #define CONFIG_SYS_MAX_FLASH_BANKS_DETECT 1 #define CONFIG_SYS_MAX_FLASH_SECT 256 #define CONFIG_SYS_WRITE_SWAPPED_DATA -#define CONFIG_CMD_CACHE #endif /* __DRAAK_H */ -- 2.18.0