Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Sandeep Singh's avatar
    377ffcfa
    powerpc/mpc85xx: Add workaround to enable TDM on T1040 · 377ffcfa
    Sandeep Singh authored
    
    This is a workaround for 32 bit hardware limitation of TDM.
    T1040 has 36 bit physical addressing, TDM DMAC register
    are 32 bit wide but need to store address of CCSR space
    which lies beyond 32 bit address range. This workaround
    creats a LAW to enable access of TDM DMA to CCSR by
    mapping CCSR to overlap with DDR.
    A hole of 16M is created in memory using device tree. This
    workaround law is set only if "tdm" is defined in hwconfig.
    Also disable POST tests and add LIODN for TDM
    
    Signed-off-by: default avatarSandeep Singh <Sandeep@freescale.com>
    Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
    377ffcfa
    History
    powerpc/mpc85xx: Add workaround to enable TDM on T1040
    Sandeep Singh authored
    
    This is a workaround for 32 bit hardware limitation of TDM.
    T1040 has 36 bit physical addressing, TDM DMAC register
    are 32 bit wide but need to store address of CCSR space
    which lies beyond 32 bit address range. This workaround
    creats a LAW to enable access of TDM DMA to CCSR by
    mapping CCSR to overlap with DDR.
    A hole of 16M is created in memory using device tree. This
    workaround law is set only if "tdm" is defined in hwconfig.
    Also disable POST tests and add LIODN for TDM
    
    Signed-off-by: default avatarSandeep Singh <Sandeep@freescale.com>
    Reviewed-by: default avatarYork Sun <yorksun@freescale.com>