From: Wolfgang Denk Date: Fri, 22 Mar 2013 21:58:17 +0100 Subject: [U-Boot] [PATCH 19/21] powerpc/b4860qds: Add the tlb entries for SRIO interfaces In-Reply-To: <1363973052-25918-17-git-send-email-yorksun@freescale.com> References: <1363973052-25918-1-git-send-email-yorksun@freescale.com> <1363973052-25918-17-git-send-email-yorksun@freescale.com> Message-ID: <20130322205817.181B12014CE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear York Sun, In message <1363973052-25918-17-git-send-email-yorksun@freescale.com> you wrote: > From: Liu Gang > > 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 > --- > 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.