u-boot/board/freescale/mpc8572ds
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
..
config.mk ppc/85xx: Introduce RESET_VECTOR_ADDRESS to handle non-standard link address 2009-09-09 21:04:47 -05:00
ddr.c Add ddr interleaving suppport for MPC8572DS board 2008-10-18 21:54:05 +02:00
law.c ppc/85xx: Clean up use of LAWAR defines 2009-09-24 12:04:58 -05:00
Makefile mpc85xx: Add support for the MPC8572DS reference board 2008-08-27 11:43:53 -05:00
mpc8572ds.c fsl: improve the PIXIS code and fix a few bugs 2010-04-07 00:21:27 -05:00
tlb.c ppc/85xx: Map boot page guarded for MP boot 2010-01-05 13:49:09 -06:00