Skip to content
Snippets Groups Projects
  • Anton Vorontsov's avatar
    7f52ed5e
    mpc85xx: Add eSDHC support for MPC8569E-MDS boards · 7f52ed5e
    Anton Vorontsov authored
    
    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: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    7f52ed5e
    History
    mpc85xx: Add eSDHC support for MPC8569E-MDS boards
    Anton Vorontsov authored
    
    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: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>