diff options
author | Anand Balagopalakrishnan | 2015-12-07 02:55:47 -0600 |
---|---|---|
committer | Anand Balagopalakrishnan | 2016-02-11 02:57:17 -0600 |
commit | 37502630b9b5fa4f4f412837694eb133ab28cc30 (patch) | |
tree | f18df94d4f8b3c7ba10b22f80c3cbf7309007b3c | |
parent | f0c729c54ad45dc4b2d2c83317545a1ef9de1cc5 (diff) | |
download | omap5-sgx-ddk-linux-37502630b9b5fa4f4f412837694eb133ab28cc30.tar.gz omap5-sgx-ddk-linux-37502630b9b5fa4f4f412837694eb133ab28cc30.tar.xz omap5-sgx-ddk-linux-37502630b9b5fa4f4f412837694eb133ab28cc30.zip |
km: (HACK): map entire SGX address range
SGX needs entire register address range to be mapped. SoC integration only
requires GPU_WRAPPER range for hwmod.
Specify the GPU_WRAPPER range in DT. Map the entire range
irrespective of what is defined in DT.
The right way to do it would be through register definitions in DT that can
work for both hwmod as well as the driver.
This is a HACK patch and should be addressed for DDK migration.
Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
-rw-r--r-- | eurasia_km/services4/system/omap/sysconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eurasia_km/services4/system/omap/sysconfig.c b/eurasia_km/services4/system/omap/sysconfig.c index 3ebb7c8..426fa87 100644 --- a/eurasia_km/services4/system/omap/sysconfig.c +++ b/eurasia_km/services4/system/omap/sysconfig.c | |||
@@ -210,7 +210,7 @@ static PVRSRV_ERROR SysLocateDevices(SYS_DATA *psSysData) | |||
210 | return PVRSRV_ERROR_INVALID_DEVICE; | 210 | return PVRSRV_ERROR_INVALID_DEVICE; |
211 | } | 211 | } |
212 | 212 | ||
213 | gsSGXDeviceMap.sRegsSysPBase.uiAddr = dev_res->start; | 213 | gsSGXDeviceMap.sRegsSysPBase.uiAddr = SYS_OMAP_SGX_REGS_SYS_PHYS_BASE; |
214 | gsSGXDeviceMap.sRegsCpuPBase = | 214 | gsSGXDeviceMap.sRegsCpuPBase = |
215 | SysSysPAddrToCpuPAddr(gsSGXDeviceMap.sRegsSysPBase); | 215 | SysSysPAddrToCpuPAddr(gsSGXDeviceMap.sRegsSysPBase); |
216 | PVR_TRACE(("SGX register base: 0x%lx", (unsigned long)gsSGXDeviceMap.sRegsCpuPBase.uiAddr)); | 216 | PVR_TRACE(("SGX register base: 0x%lx", (unsigned long)gsSGXDeviceMap.sRegsCpuPBase.uiAddr)); |