u-boot/board/freescale
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
..
common fsl_diu_fb: further refactoring of FSL DIU code 2010-09-25 13:10:03 +02:00
corenet_ds powerpc/85xx: Fix SRIO LAW setup on corenet_ds boards 2010-08-19 02:06:14 -05:00
m547xevb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m548xevb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5208evbe m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5235evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5249evb Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
m5253demo m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5253evbe m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5271evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5272c3 m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5275evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5282evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5329evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m5373evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m52277evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m53017evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m54451evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
m54455evb m68k: Move cpu/$CPU to arch/m68k/cpu/$CPU 2010-04-13 09:13:24 +02:00
mpc832xemds 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc837xemds 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc837xerdb 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc5121ads fsl: refactor MPC8610 and MPC5121 DIU code to use existing bitmap and logo features 2010-09-21 22:46:02 +02:00
mpc7448hpc2 Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mpc8260ads mpc8260: move FDT memory node fixup into common CPU code. 2009-11-22 23:16:28 +01:00
mpc8266ads rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mpc8308rdb 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8313erdb 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8315erdb 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8323erdb 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8349emds 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8349itx 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8360emds 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8360erdk 83xx: Remove warmboot parameter from PCI init functions 2010-09-23 21:14:42 +02:00
mpc8536ds powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
mpc8540ads 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
mpc8541cds 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
mpc8544ds powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
mpc8548cds powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
mpc8555cds 83xx/85xx/86xx: LBC register cleanup 2010-07-16 10:55:09 -05:00
mpc8560ads net ppc: fix ethernet device names with spaces 2010-08-09 11:52:28 -07:00
mpc8568mds powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
mpc8569mds powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
mpc8572ds powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
mpc8610hpcd fsl_diu_fb: further refactoring of FSL DIU code 2010-09-25 13:10:03 +02:00
mpc8641hpcn powerpc/8xxx: Fix bug in memctrl interleaving & bank interleaving on cs0~cs4 2010-07-26 13:16:09 -05:00
mx31ads arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02:00
mx31pdk Convert SMC911X Ethernet driver to CONFIG_NET_MULTI API 2009-07-22 22:53:44 -07:00
mx51evk Add SPI support to mx51evk board 2010-05-05 09:48:41 +02:00
p1_p2_rdb powerpc/85xx & 86xx: Rework ft_fsl_pci_setup to not require aliases 2010-07-20 04:40:06 -05:00
p1022ds p1022ds: use weak CFI flash accessors when DIU is enabled 2010-09-25 14:42:11 +02:00
p2020ds Fix parameters to support RDIMM for P2020DS 2010-08-31 11:23:04 -05:00