]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc/mpc85xx: Add workaround to enable TDM on T1040
authorSandeep Singh <sandeep@freescale.com>
Thu, 5 Jun 2014 13:19:57 +0000 (18:49 +0530)
committerYork Sun <yorksun@freescale.com>
Thu, 5 Jun 2014 20:45:07 +0000 (13:45 -0700)
commit377ffcfabff39d2f812c28e54152cb53839ce338
tree1d986733cb4cf0d37ed4bc43bc861e6dd5c8a0ed
parentfa6e742825f1e1e00ac69c6829e75f14a1a51e9f
powerpc/mpc85xx: Add workaround to enable TDM on T1040

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: Sandeep Singh <Sandeep@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/t1040_ids.c
arch/powerpc/include/asm/fsl_law.h
arch/powerpc/include/asm/fsl_liodn.h
arch/powerpc/include/asm/immap_85xx.h
include/configs/T1040QDS.h
include/configs/T104xRDB.h