Skip to contentSkip to conversation

soc/fsl: dpaa_sys.h: fix ARM32 typo

PATCH In review Valentin Rothberg 2 participants 2 messages Sep 27, 2016 – Sep 28, 2016 Freescale SoC drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc/fsl: dpaa_sys.h: fix ARM32 typo

The Kconfig symbol for 32bit ARM is 'ARM', not 'ARM32'.

---
 drivers/soc/fsl/qbman/dpaa_sys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/fsl/qbman/dpaa_sys.h +1 -1
index b63fd72295c6..608b1f608e13 100644
@@ -55,7 +55,7 @@ static inline void dpaa_flush(void *p)
 {
 #ifdef CONFIG_PPC
 	flush_dcache_range((unsigned long)p, (unsigned long)p+64);
-#elif defined(CONFIG_ARM32)
+#elif defined(CONFIG_ARM)
 	__cpuc_flush_dcache_area(p, 64);
 #elif defined(CONFIG_ARM64)
 	__flush_dcache_area(p, 64);
Signature · 1 line
2.9.3
#1 lore raw
Quoted 13 lines · Valentin Rothberg

The Kconfig symbol for 32bit ARM is 'ARM', not 'ARM32'.

---
 drivers/soc/fsl/qbman/dpaa_sys.h | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/fsl/qbman/dpaa_sys.h +0 -0
index b63fd72295c6..608b1f608e13 100644

drivers/soc/fsl/qbman/dpaa_sys.h static inline void dpaa_flush(void *p) · line 61

Quoted 8 lines
drivers/soc/fsl/qbman/dpaa_sys.h +1 -1
@@ -55,7 +55,7 @@ static inline void dpaa_flush(void *p)
  {
  #ifdef CONFIG_PPC
  	flush_dcache_range((unsigned long)p, (unsigned long)p+64);
-#elif defined(CONFIG_ARM32)
+#elif defined(CONFIG_ARM)
  	__cpuc_flush_dcache_area(p, 64);
  #elif defined(CONFIG_ARM64)
  	__flush_dcache_area(p, 64);

Despite a couple stray pieces like this, the current qbman submission only supports PPC.  ARM support is expected as a followup that should go via the arm-soc tree.

-Scott