Fix some backward conditional compilation

This commit is contained in:
Gregory Nutt
2014-03-30 08:29:21 -06:00
parent 406e91e262
commit 9767d1f976
+8 -4
View File
@@ -209,13 +209,17 @@ static const struct section_mapping_s section_mapping[] =
#ifdef CONFIG_SAMA5_DDRCS
#ifdef CONFIG_SAMA5_BOOT_SDRAM
{ SAM_DDRCS_PSECTION, SAM_DDRCS_VSECTION,
MMU_STRONGLY_ORDERED, SAM_DDRCS_NSECTIONS
},
#else
/* Running out of SDRAM */
{ SAM_DDRCS_PSECTION, SAM_DDRCS_VSECTION,
SAM_DDRCS_MMUFLAGS, SAM_DDRCS_NSECTIONS
},
#else
/* Running out of ISRAM or NOR FLASH */
{ SAM_DDRCS_PSECTION, SAM_DDRCS_VSECTION,
MMU_STRONGLY_ORDERED, SAM_DDRCS_NSECTIONS
},
#endif
#endif