Skip to content
Snippets Groups Projects
Commit ce1fe4ba authored by Mike Frysinger's avatar Mike Frysinger
Browse files

Blackfin: add workaround for anomaly 05000171


DESCRIPTION:
The Boot ROM is executed at power up/reset and changes the value of the
SICA_IWR registers from their default reset value of 0xFFFF, but does not
restore them.

WORKAROUND:
User code should not rely on the default value of these registers.  Set
the desired values explicitly.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 51ee6e05
No related branches found
No related tags found
No related merge requests found
...@@ -355,6 +355,10 @@ void initcode(ADI_BOOT_DATA *bootstruct) ...@@ -355,6 +355,10 @@ void initcode(ADI_BOOT_DATA *bootstruct)
bfrom_SysControl(actions, &memory_settings, NULL); bfrom_SysControl(actions, &memory_settings, NULL);
#if ANOMALY_05000432 #if ANOMALY_05000432
bfin_write_SIC_IWR1(-1); bfin_write_SIC_IWR1(-1);
#endif
#if ANOMALY_05000171
bfin_write_SICA_IWR0(-1);
bfin_write_SICA_IWR1(-1);
#endif #endif
} else { } else {
serial_putc('G'); serial_putc('G');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment