u-boot-brain/board/freescale/common
Timur Tabi 2feb4af001 fsl: improve the PIXIS code and fix a few bugs
Refactor and document the Freescale PIXIS code, used on most 85xx and 86xx
boards.  This makes the code easier to read and more flexible.

Delete pixis.h, because none of the exported functions were actually being
used by any other file.  Make all of the functions in pixis.c 'static'.
Remove "#include pixis.h" from every file that has it.

Remove some unnecessary #includes.

Make 'pixis_base' into a macro, so that we don't need to define it in every
function.

Add "while(1);" loops at the end of functions that reset the board, so that
execution doesn't continue while the reset is in progress.

Replace in_8/out_8 calls with clrbits_8, setbits_8, or clrsetbits_8, where
appropriate.

Replace ulong/uint with their spelled-out equivalents.  Remove unnecessary
typecasts, changing the types of some variables if necessary.

Add CONFIG_SYS_PIXIS_VCFGEN0_ENABLE and CONFIG_SYS_PIXIS_VBOOT_ENABLE to make
it easier for specific boards to support variations in the PIXIS registers
sets.  No current boards appears to need this feature.

Fix the definition of CONFIG_SYS_PIXIS_VBOOT_MASK for the MPC8610 HPCD.
Apparently, "pixis_reset altbank" has never worked on this board.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-04-07 00:21:27 -05:00
..
cadmus.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cadmus.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
cds_pci_ft.c FSL: Clean up board/freescale/common/Makefile 2008-03-26 11:43:04 -05:00
cds_via.c FSL: Clean up board/freescale/common/Makefile 2008-03-26 11:43:04 -05:00
eeprom.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
fsl_diu_fb.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
fsl_diu_fb.h Move 8610 DIU interface structure definitions to header file. 2007-11-20 15:00:53 -06:00
fsl_logo_bmp.c FSL: Add a freescale bitmap logo. 2007-11-07 14:09:08 -06:00
Makefile Update Freescale 85xx boards to sys_eeprom.c 2008-09-09 10:13:35 +02:00
pixis.c fsl: improve the PIXIS code and fix a few bugs 2010-04-07 00:21:27 -05:00
pq-mds-pib.c ppc/85xx: Add PIB/ATM support for MPC8569mds 2010-01-25 22:13:26 -06:00
pq-mds-pib.h mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support 2007-08-16 23:12:11 -05:00
sgmii_riser.c fsl: Remove unnecessary debug printfs 2009-03-09 17:46:10 -05:00
sgmii_riser.h Fixup SGMII PHY ids in the device tree 2009-02-16 18:05:54 -06:00
sys_eeprom.c fsl: sys_eeprom: Fix 'may be used uninitialized' warning 2009-09-08 09:10:03 -05:00
via.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00