ARM: rmobile: Enable cache command on Gen3
authorHiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Wed, 26 Sep 2018 05:32:13 +0000 (14:32 +0900)
committerMarek Vasut <marex@denx.de>
Thu, 18 Oct 2018 17:07:46 +0000 (19:07 +0200)
This patch enables the cache command, mostly for convenience of testing.

Signed-off-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
arch/arm/mach-rmobile/Kconfig
configs/r8a7795_salvator-x_defconfig
include/configs/draak.h

index ac08d6eb12597b1119b2581a437ae217937fdd59..d82023acf342bcf4fbf62028ed455766bc11ca4f 100644 (file)
@@ -12,6 +12,7 @@ config RCAR_GEN3
        bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
        select ARM64
        select PHY
+       select CMD_CACHE
 
 endchoice
 
index 40712a44c3c583de772030585e9df1b264fc397d..87870fc59578728d61ec2564be5f6fde8f255262 100644 (file)
@@ -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
index 5d1da21e99e00edf25727920ee2bcee2c49da753..70c4f166a544de6f52e52fb7583843df432af63b 100644 (file)
@@ -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 */