u-boot-brain/board/freescale/p1022ds
Timur Tabi 55b05237b9 p1022ds: use weak CFI flash accessors when DIU is enabled
On the Freescale P1022, the DIU and the LBC share address pins, which means
that when the DIU is active (e.g. the console is on the DVI display), NOR flash
cannot be accessed.  So we use the weak accessor function feature of the CFI
flash code to temporarily switch the pin mux from DIU to LBC whenever we want
to read or write flash.  This has a significant performance penalty, but it's
the only way to make it work.

This change allows the 'saveenv' command to work when the video display is
enabled.  Erasing flash and writing to flash (with the 'cp' command) works,
but reading from flash (with the 'md' and 'cp' commands) does not.  Also, while
flash is being written, the video display will be blank.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
2010-09-25 14:42:11 +02:00
..
config.mk powerpc: add support for the Freescale P1022DS reference board 2010-07-16 10:55:10 -05:00
ddr.c powerpc: add support for the Freescale P1022DS reference board 2010-07-16 10:55:10 -05:00
diu.c p1022ds: use weak CFI flash accessors when DIU is enabled 2010-09-25 14:42:11 +02:00
law.c powerpc: add support for the Freescale P1022DS reference board 2010-07-16 10:55:10 -05:00
Makefile p1022ds: add video support 2010-09-25 13:10:10 +02:00
p1022ds.c powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
tlb.c powerpc: add support for the Freescale P1022DS reference board 2010-07-16 10:55:10 -05:00