]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/cache.h
i2c: rcar_i2c: Add DM and DT capable I2C driver
[u-boot] / arch / arm / include / asm / cache.h
index 5400cbe18ff435cf207fd46e2ea0e8d819105560..950ec1e793cafe869624738961b4e276569b998b 100644 (file)
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2009
  * Marvell Semiconductor <www.marvell.com>
  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _ASM_CACHE_H
@@ -16,7 +15,7 @@
 /*
  * Invalidate L2 Cache using co-proc instruction
  */
-#ifdef CONFIG_SYS_THUMB_BUILD
+#if CONFIG_IS_ENABLED(SYS_THUMB_BUILD)
 void invalidate_l2_cache(void);
 #else
 static inline void invalidate_l2_cache(void)