]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/blobdiff - packages/ti/drv/spi/soc/tda3xx/SPI_soc.c
[TI Clang Migration][Phase 2]
[processor-sdk/pdk.git] / packages / ti / drv / spi / soc / tda3xx / SPI_soc.c
index 169cf20ec7a1b8f966d9f14fa0a5555919675aa3..61c211a046699e6a5f6203ac8a48f43157cbb425 100644 (file)
@@ -47,7 +47,7 @@
 SPI_v1_HWAttrs spiInitCfg[CSL_MCSPI_PER_CNT] =
 {
     {
-#if defined (__TI_ARM_V7M4__)
+#if ((__ARM_ARCH == 7) && (__ARM_ARCH_PROFILE == 'M'))
         SOC_MCSPI1_BASE,
         57,
 #endif
@@ -96,7 +96,7 @@ SPI_v1_HWAttrs spiInitCfg[CSL_MCSPI_PER_CNT] =
         false
     },
     {
-#if defined (__TI_ARM_V7M4__)
+#if ((__ARM_ARCH == 7) && (__ARM_ARCH_PROFILE == 'M'))
         SOC_MCSPI2_BASE,
         58,
 #endif
@@ -145,7 +145,7 @@ SPI_v1_HWAttrs spiInitCfg[CSL_MCSPI_PER_CNT] =
         false
     },
     {
-#if defined (__TI_ARM_V7M4__)
+#if ((__ARM_ARCH == 7) && (__ARM_ARCH_PROFILE == 'M'))
         SOC_MCSPI3_BASE,
         48,
 #endif
@@ -194,7 +194,7 @@ SPI_v1_HWAttrs spiInitCfg[CSL_MCSPI_PER_CNT] =
         false
     },
     {
-#if defined (__TI_ARM_V7M4__)
+#if ((__ARM_ARCH == 7) && (__ARM_ARCH_PROFILE == 'M'))
         SOC_MCSPI4_BASE,
         49,
 #endif