uboot-mt623x/cpu/mpc512x
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
..
Makefile MPC512x: factor out common code 2009-07-14 00:02:41 +02:00
asm-offsets.h MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
config.mk ppc: remove -ffixed-r14 gcc option. 2010-01-26 19:30:16 +01:00
cpu.c mpc512x: Add display of reset status register 2010-01-24 15:29:29 +01:00
cpu_init.c MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
diu.c fsl: improve the PIXIS code and fix a few bugs 2010-04-07 00:21:27 -05:00
fixed_sdram.c mpc512x: fix fixed_sdram() init code. 2009-10-08 00:23:12 +02:00
i2c.c mpc512x: Fix problem with I2C access before relocation 2009-06-12 20:47:18 +02:00
ide.c MPC512x: use I/O accessors instead of pointer accesses 2009-06-12 20:47:16 +02:00
iim.c General help message cleanup 2009-06-12 20:47:16 +02:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
iopin.c MPC512x: use I/O accessors instead of pointer accesses 2009-06-12 20:47:16 +02:00
pci.c mpc512x: Use in/out accessors for all registers 2010-01-21 23:00:45 +01:00
serial.c mpc512x: Use in/out accessors for all registers 2010-01-21 23:00:45 +01:00
speed.c MPC512x: remove include/mpc512x.h 2009-06-12 20:47:16 +02:00
start.S ppc: Use r12 instead of r14 as GOT pointer. 2010-01-26 19:30:13 +01:00
traps.c kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed 2010-02-08 22:05:42 +01:00
u-boot.lds ppc: Enable full relocation to RAM 2009-10-03 10:15:45 +02:00