u-boot/cpu/mpc83xx
Nick Spence d9fe88173c MPC83XX: Fix GPIO configuration - set gpio level before direction
Set DAT value before DIR values to avoid creating glitches on the
GPIO signals.

Set gpio level register before direction register to inhibit
glitches on high level output pins.

Dir and data gets cleared at powerup, so high level output lines see
a short low pulse between setting the direction and level registers.

Issue was seen on a new board with the nReset line of the NOR flash
connected to a GPIO. Setting the direction register puts the NOR flash
in reset so the next instruction to set the level cannot get executed.

Signed-off-by: Nick Spence <nick.spence@freescale.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2008-09-03 16:06:46 -05:00
..
config.mk PPC: Use r2 instead of r29 as global data pointer 2008-02-14 22:43:22 +01:00
cpu.c Merge branch 'master' of git://www.denx.de/git/u-boot-net 2008-07-09 23:22:54 +02:00
cpu_init.c MPC83XX: Fix GPIO configuration - set gpio level before direction 2008-09-03 16:06:46 -05:00
ecc.c silence misc printf formatting compiler warnings 2008-07-10 22:12:09 +02:00
fdt.c fdt: rework fdt_fixup_ethernet() to use env instead of bd_t 2008-08-21 02:07:43 +02:00
interrupts.c cpu/m*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 19:06:00 -05:00
Makefile 83xx: serdes setup routines 2008-03-25 19:16:45 -05:00
nand_init.c NAND boot: MPC8313ERDB support 2008-08-12 11:31:31 -05:00
pci.c mpc83xx: add PCISLAVE support to 83XX_GENERIC_PCI setup code 2008-08-25 17:04:30 -05:00
qe_io.c 83xx: split COBJS onto separate lines 2008-03-25 19:16:44 -05:00
serdes.c 83xx: serdes setup routines 2008-03-25 19:16:45 -05:00
spd_sdram.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
speed.c silence misc printf formatting compiler warnings 2008-07-10 22:12:09 +02:00
start.S NAND boot: MPC8313ERDB support 2008-08-12 11:31:31 -05:00
traps.c cpu/m*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 19:06:00 -05:00
u-boot.lds Big white-space cleanup. 2008-05-21 00:14:08 +02:00