[U-Boot] [PATCH 2/7] mpc85xx: Add eSDHC support for MPC8569E-MDS boards

Kumar Gala galak at kernel.crashing.org
Tue Oct 27 15:37:22 CET 2009


On Oct 15, 2009, at 8:47 AM, Anton Vorontsov wrote:

> 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 at ru.mvista.com>
> ---
> board/freescale/mpc8569mds/bcsr.h       |    3 +-
> board/freescale/mpc8569mds/mpc8569mds.c |  116 ++++++++++++++++++++++ 
> +++++++++
> cpu/mpc85xx/speed.c                     |    4 +
> include/configs/MPC8569MDS.h            |   16 ++++
> 4 files changed, 138 insertions(+), 1 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list