From: Sandeep Paulraj Date: Thu, 16 Dec 2010 17:01:59 +0000 (-0500) Subject: C6457: Add address translation issues X-Git-Tag: DEV.MAD_UTILS.IBL.01.00.00.01~27 X-Git-Url: https://git.ti.com/gitweb?p=keystone-rtos%2Fibl.git;a=commitdiff_plain;h=287e3c87ad07fa20f9c740f892c98e870342a5e4 C6457: Add address translation issues Signed-off-by: Sandeep Paulraj --- diff --git a/src/device/c6457/c6457.c b/src/device/c6457/c6457.c index 084e356..e44d367 100644 --- a/src/device/c6457/c6457.c +++ b/src/device/c6457/c6457.c @@ -69,7 +69,7 @@ extern cregister unsigned int DNUM; bool address_is_local (Uint32 addr) { /* L2 */ - if ((addr >= 0x00800000) && (addr < 0x00898000)) + if ((addr >= 0x00800000) && (addr < 0x00a00000)) return (TRUE); /* L1P */ @@ -95,9 +95,6 @@ bool address_is_local (Uint32 addr) Uint32 deviceLocalAddrToGlobal (Uint32 addr) { - if (address_is_local (addr)) - addr = (1 << 28) | (DNUM << 24) | addr; - return (addr); }