SAM4S/4E: Eand default loop optimiozation if EEFC_FMR configuration. From Marco Aurélio da Cruz

This commit is contained in:
Gregory Nutt 2015-06-11 14:35:49 -06:00
parent d08c4948f2
commit 40a40ae023
1 changed files with 4 additions and 0 deletions

View File

@ -110,7 +110,11 @@
static inline void sam_efcsetup(void)
{
#if defined(EEFC_FMR_CLOE)
putreg32(EEFC_FMR_CLOE | (BOARD_FWS << EEFC_FMR_FWS_SHIFT), SAM_EEFC0_FMR);
#else
putreg32((BOARD_FWS << EEFC_FMR_FWS_SHIFT), SAM_EEFC0_FMR);
#endif
#if !defined(CONFIG_ARCH_CHIP_SAM4E)
putreg32((BOARD_FWS << EEFC_FMR_FWS_SHIFT), SAM_EEFC1_FMR);
#endif