SAM4S/4E: Eand default loop optimiozation if EEFC_FMR configuration. From Marco Aurélio da Cruz
This commit is contained in:
parent
d08c4948f2
commit
40a40ae023
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue