[U-Boot] [PATCH 19/21] powerpc/b4860qds: Add the tlb entries for SRIO interfaces
Wolfgang Denk
wd at denx.de
Fri Mar 22 21:58:17 CET 2013
Dear York Sun,
In message <1363973052-25918-17-git-send-email-yorksun at freescale.com> you wrote:
> From: Liu Gang <Gang.Liu at freescale.com>
>
> Add the tlb entries based on the configuration of the SRIO interfaces.
> Every SRIO interface has 256M space:
>
> #define CONFIG_SYS_SRIO1_MEM_VIRT 0xa0000000
> #define CONFIG_SYS_SRIO1_MEM_PHYS 0xc20000000ull
>
> #define CONFIG_SYS_SRIO2_MEM_VIRT 0xb0000000
> #define CONFIG_SYS_SRIO2_MEM_PHYS 0xc30000000ull
>
> Signed-off-by: Liu Gang <Gang.Liu at freescale.com>
> ---
> board/freescale/b4860qds/tlb.c | 19 +++++++++++++++++--
> 1 file changed, 17 insertions(+), 2 deletions(-)
CHECK: Alignment should match open parenthesis
#147: FILE: board/freescale/b4860qds/tlb.c:131:
+ SET_TLB_ENTRY(1, CONFIG_SYS_SRIO1_MEM_VIRT, CONFIG_SYS_SRIO1_MEM_PHYS,
+ MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
CHECK: Alignment should match open parenthesis
#153: FILE: board/freescale/b4860qds/tlb.c:137:
+ SET_TLB_ENTRY(1, CONFIG_SYS_SRIO2_MEM_VIRT, CONFIG_SYS_SRIO2_MEM_PHYS,
+ MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In theory, there is no difference between theory and practice. In
practice, however, there is.
More information about the U-Boot
mailing list