]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mpc85xx: Add eSDHC support for MPC8569E-MDS boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 15 Oct 2009 13:47:06 +0000 (17:47 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 27 Oct 2009 14:36:48 +0000 (09:36 -0500)
commit7f52ed5ef1b490da282ace3316be381a6abf96a5
tree775e133205d0440cb47776e4b64a0442c339b1d8
parent48618126f78f05042dae428811809b594f747eb9
mpc85xx: Add eSDHC support for MPC8569E-MDS boards

eSDHC is mutually exlusive with UART0 (in 4-bits mode) and I2C2
(in 1-bit mode). When eSDHC is used, we should switch u-boot console to
UART1, and make the proper device-tree fixups.

Because of an erratum in prototype boards it is impossible to use eSDHC
without disabling UART0 (which makes it quite easy to 'brick' the board
by simply issung 'setenv hwconfig esdhc', and not able to interact with
U-Boot anylonger).

So, but default we assume that the board is a prototype, which is a most
safe assumption. There is no way to determine board revision from a
register, so we use hwconfig.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/mpc8569mds/bcsr.h
board/freescale/mpc8569mds/mpc8569mds.c
cpu/mpc85xx/speed.c
include/configs/MPC8569MDS.h