u-boot/cpu
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
..
74xx_7xx kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed 2010-02-08 22:05:42 +01:00
arm720t Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm920t ep93xx timer: Fix resolution of get_ticks() 2010-03-22 11:58:28 -05:00
arm925t Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm926ejs mod change 755 => 644 for multiple files 2010-03-21 22:22:53 +01:00
arm946es arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
arm1136 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm1176 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
arm_cortexa8 Prepare v2010.03-rc1 2010-03-12 23:06:04 +01:00
arm_intcm arm: Remove -fno-strict-aliasing 2009-09-04 22:15:53 +02:00
at32ap Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
blackfin Blackfin: add support for kgdb 2010-01-17 20:36:09 -05:00
i386 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
ixp Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
leon2 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
leon3 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
lh7a40x Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
mcf52x2 ColdFire: Cache update for all platforms 2010-03-24 11:09:37 -05:00
mcf523x ColdFire: Cache update for all platforms 2010-03-24 11:09:37 -05:00
mcf532x ColdFire: Cache update for all platforms 2010-03-24 11:09:37 -05:00
mcf547x_8x ColdFire: Cache update for all platforms 2010-03-24 11:09:37 -05:00
mcf5227x ColdFire: Cache update for all platforms 2010-03-24 11:09:37 -05:00
mcf5445x ColdFire: Cache update for all platforms 2010-03-24 11:09:37 -05:00
microblaze microblaze: Use cache functions (especially cache status) 2009-01-23 10:40:00 +01:00
mips MIPS: Implement ethernet halt for au1x00 2009-05-16 09:20:03 +09:00
mpc5xx kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed 2010-02-08 22:05:42 +01:00
mpc5xxx mpc5xxx: Remove all references to MGT5100 2010-03-21 22:44:42 +01:00
mpc8xx kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed 2010-02-08 22:05:42 +01:00
mpc8xxx 85xx: Added various P1012/P1013/P1021/P1022 defines 2010-04-07 00:21:22 -05:00
mpc83xx Bug: do_reset issued via netconsole does not reset mpc83xx cpu. 2010-02-18 18:25:09 -06:00
mpc85xx 85xx: Set HID1[mbdd] on e500v2 rev5.0 or greater 2010-04-07 00:21:27 -05:00
mpc86xx mpc86xx: set the DDR BATs after calculating true DDR size 2010-03-30 10:50:22 -05:00
mpc512x fsl: improve the PIXIS code and fix a few bugs 2010-04-07 00:21:27 -05:00
mpc824x Update .gitignore's: add some generated files 2010-03-12 22:10:31 +01:00
mpc8220 kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed 2010-02-08 22:05:42 +01:00
mpc8260 kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed 2010-02-08 22:05:42 +01:00
nios General help message cleanup 2009-06-12 20:47:16 +02:00
nios2 nios2: Added support to YANU UART 2010-03-21 22:44:42 +01:00
ppc4xx ppc4xx: Fix problem with I2C bus >= 1 initialization 2010-03-30 13:05:05 +02:00
pxa Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
s3c44b0 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
sa1100 Generic udelay() with watchdog support 2009-12-05 01:08:53 +01:00
sh2 sh: unify linker script 2009-07-08 11:43:15 +09:00
sh3 sh: unify linker script 2009-07-08 11:43:15 +09:00
sh4 sh: unify linker script 2009-07-08 11:43:15 +09:00