[U-Boot] PPC460GT Canyonlands tlb table overlap?

The Canyonland board's init.s file (board/amcc/canyonlands/init.S) defines the contents of the TLB table for that target, it has these two records in the table among others:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
tlbentry(CFG_PCI_BASE, SZ_256M, 0x00000000, 0xC, AC_R|AC_W|SA_G|SA_I)
tlbentry(CFG_PCIE_BASE, SZ_16K, 0x08010000, 0xC, AC_R|AC_W|SA_G|SA_I)
^^^^^^^^^^^^^^^^^^^^^^^^
Am I missing something, or do they indeed overlap (the first record in fact encapsulates the second one on the physical address side).
TIA, vadim

On Sunday 11 January 2009, vb wrote:
The Canyonland board's init.s file (board/amcc/canyonlands/init.S) defines the contents of the TLB table for that target, it has these two records in the table among others:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
tlbentry(CFG_PCI_BASE, SZ_256M, 0x00000000, 0xC,
AC_R|AC_W|SA_G|SA_I)
tlbentry(CFG_PCIE_BASE, SZ_16K, 0x08010000, 0xC,
AC_R|AC_W|SA_G|SA_I)
^^^^^^^^^^^^^^^^^^^^^^^^
Am I missing something, or do they indeed overlap (the first record in fact encapsulates the second one on the physical address side).
You seem to be correct. This physical addresses overlap. Not sure if this really is a problem. A patch to fix this would be welcome. :)
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================
participants (2)
-
Stefan Roese
-
vb