]> git.sur5r.net Git - u-boot/commitdiff
mx6: standardise CONFIG_CMD_CACHE
authorPeter Robinson <pbrobinson@gmail.com>
Fri, 22 May 2015 16:30:53 +0000 (17:30 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 26 May 2015 13:58:57 +0000 (15:58 +0200)
Move CONFIG_CMD_CACHE to mx6_common and standardise the way it's defined.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
20 files changed:
include/configs/aristainetos-common.h
include/configs/cgtqmx6eval.h
include/configs/embestmx6boards.h
include/configs/gw_ventana.h
include/configs/mx6_common.h
include/configs/mx6cuboxi.h
include/configs/mx6sabre_common.h
include/configs/mx6slevk.h
include/configs/mx6sxsabresd.h
include/configs/nitrogen6x.h
include/configs/novena.h
include/configs/ot1200.h
include/configs/platinum.h
include/configs/secomx6quq7.h
include/configs/tbs2910.h
include/configs/titanium.h
include/configs/tqma6.h
include/configs/udoo.h
include/configs/wandboard.h
include/configs/warp.h

index d44624d68b04e4c9b6a0da1b31da1ee3d50ffcd2..1abaabf7e39129647ee26f343d278c070b535913 100644 (file)
 #define CONFIG_ENV_OFFSET              (0x0d0000)
 #define CONFIG_ENV_OFFSET_REDUND       (0x0e0000)
 
-#define CONFIG_CMD_CACHE
-
 #define CONFIG_SYS_FSL_USDHC_NUM       2
 
 /* I2C */
index d655baaeeb8dc7cbc52bc5dd4f103ec18d313363..dd06c05b8e05b6439b11e96f7f79693fedc94a4a 100644 (file)
 #define CONFIG_ENV_OFFSET              (6 * 64 * 1024)
 #define CONFIG_SYS_MMC_ENV_DEV         0
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #endif                        /* __CONFIG_CGTQMX6EVAL_H */
index 97a2fb1d739ea57629fb5911ab7748e18d7c914e..56950e05dbbb243b5be5c6c29c00ee2317ad9afd 100644 (file)
 #define CONFIG_ENV_SPI_MAX_HZ          CONFIG_SF_DEFAULT_SPEED
 #endif
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 /* Framebuffer */
 #define CONFIG_VIDEO
 #define CONFIG_VIDEO_IPUV3
index 42880960fb70a500026ca3c3cc4a1b4f3ec4b23f..406bf2e53d4a0e82e5f7b20bcb07f65dacfc207f 100644 (file)
 #define CONFIG_OF_BOARD_SETUP
 #define CONFIG_FDT_FIXUP_PARTITIONS
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-  #define CONFIG_CMD_CACHE
-#endif
-
 #endif                        /* __CONFIG_H */
index c9cd648a1e389f80f699ac7798e3030c73eb7742..233c6d2e88f46368a699bb028bf481d3c9831102 100644 (file)
 #define CONFIG_SYS_MAXARGS     32
 #define CONFIG_SYS_BARGSIZE    CONFIG_SYS_CBSIZE
 
+#ifndef CONFIG_SYS_DCACHE_OFF
+#define CONFIG_CMD_CACHE
+#endif
+
 /* GPIO */
 #define CONFIG_MXC_GPIO
 #define CONFIG_CMD_GPIO
index 3c0affe1e346318b130117607d7f776c7466d963..21c3f960aef391f9604f803dad73ad8d4468fedc 100644 (file)
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_ENV_OFFSET              (8 * 64 * 1024)
 
-#define CONFIG_CMD_CACHE
-
 #endif                         /* __MX6CUBOXI_CONFIG_H */
index 917563b621f54d6ca55b76ea91ff3ad7f2ad3bb8..6a37ae738490677cc27fb0000f2729ae800e2b97 100644 (file)
 #define CONFIG_ENV_OFFSET              (8 * 64 * 1024)
 #endif
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 /* Framebuffer */
 #define CONFIG_VIDEO
 #define CONFIG_VIDEO_IPUV3
index c613a2b18fc1e6b6365f07b1646ed61f14c30111..2b8bb2a50deeb8a68cbb45fa897118d2f2291aa6 100644 (file)
 #define CONFIG_ENV_IS_IN_MMC
 #endif
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #define CONFIG_CMD_SF
 #ifdef CONFIG_CMD_SF
 #define CONFIG_SPI_FLASH
index 8e98c8e168f97ec0bd0530fb969fa845ba6f0c10..46e126276cee87df01846285f7c7e9afbd87d388 100644 (file)
 #define CONFIG_ENV_SIZE                        SZ_8K
 #define CONFIG_ENV_IS_IN_MMC
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #define CONFIG_SYS_FSL_USDHC_NUM       3
 #if defined(CONFIG_ENV_IS_IN_MMC)
 #define CONFIG_SYS_MMC_ENV_DEV         2  /*USDHC4*/
index 668d939779a92b3e002c8ccedb4509ee2f9fff46..9313b9ff3d541866760a7c03dcc26476fe2605a2 100644 (file)
 #define CONFIG_ENV_SPI_MAX_HZ          CONFIG_SF_DEFAULT_SPEED
 #endif
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #define CONFIG_CMD_BMP
 
 #define CONFIG_CMD_TIME
index b6e852167a60487307558cff06abf36abc6b2903..1f9326961c11c45954f0ae504482d0aafde32f0c 100644 (file)
@@ -21,7 +21,6 @@
 /* U-Boot Commands */
 #define CONFIG_CMD_ASKENV
 #define CONFIG_CMD_BMODE
-#define CONFIG_CMD_CACHE
 #define CONFIG_CMD_DHCP
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_I2C
index 71658770fe3edc5d52d76e3495b4ba748e0124f6..699b037b947b2e72ce6179617c3b1f6facb7dfc4 100644 (file)
 #define CONFIG_ENV_SPI_MODE             CONFIG_SF_DEFAULT_MODE
 #define CONFIG_ENV_SPI_MAX_HZ           CONFIG_SF_DEFAULT_SPEED
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #define CONFIG_BOOTP_SERVERIP
 #define CONFIG_BOOTP_BOOTFILE
 
index 6d3bbc28d3db6a6b86b4d76b37eb1f6dca9ca8d2..5ab22e7d5f6b1df4a1839469fc0cd642a6dc5eae 100644 (file)
                                "512k(res2),512k(res3),-(ubi1)"
 #endif
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 /*
  * Environment configuration
  */
index 7b28671e182a4bf08c686b012f52aa733daaa669..72b13a63ac2e78710f6399c55c0de3f3eef89d8c 100644 (file)
        #define CONFIG_DYNAMIC_MMC_DEVNO
 #endif
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #endif /* __CONFIG_H */
index 5e04fa01f4e9322e52a4b4a1d23a63ff92d4c443..13a6e06b5d6c87a79ccbd9bff4aad1a675e7e88d 100644 (file)
 #define CONFIG_MXC_OCOTP
 #endif
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 /* Environment organization */
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV         2
index 992d55aaf23236a3fe3f131ccccb41fcfca73178..7490fa8bed32ace047549a42c2d51c2462045789 100644 (file)
 #define CONFIG_CMD_UBI
 #define CONFIG_CMD_UBIFS
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #endif                        /* __CONFIG_H */
index e144f83f954370dd4e372ca702ed6eb50b6191b5..4c93c9bbb97c126196294123e344e00d23638068 100644 (file)
 #define CONFIG_FIT
 #define CONFIG_FIT_VERBOSE
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 /*
  * All the defines above are for the TQMa6 SoM
  *
index 84c36069c93c84a8f67e1eefe432377544a22a83..fce2b9b3e66bddaed52188e9d0014368dc607829 100644 (file)
 #define CONFIG_ENV_OFFSET              (6 * 64 * 1024)
 #define CONFIG_SYS_MMC_ENV_DEV         0
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #endif                        /* __CONFIG_H * */
index 37b5357adb3d066406a43eef93c64a5748f4a054..69590ad884d12623b86873a124b2cf096f35aec5 100644 (file)
 #define CONFIG_ENV_OFFSET              (6 * 64 * 1024)
 #define CONFIG_SYS_MMC_ENV_DEV         0
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 #endif                        /* __CONFIG_H * */
index 3b3bc2a7a5622f7abfa51ea2f54960951a5d8965..26739489551762602d92c5f9026ab81bec16a3c7 100644 (file)
 /* VDD voltage 1.65 - 1.95 */
 #define CONFIG_SYS_SD_VOLTAGE          0x00000080
 
-#ifndef CONFIG_SYS_DCACHE_OFF
-#define CONFIG_CMD_CACHE
-#endif
-
 /* USB Configs */
 #define CONFIG_CMD_USB
 #ifdef CONFIG_CMD_USB