|
@@ -558,8 +558,9 @@ static int caam_probe(struct platform_device *pdev)
|
|
|
* Enable DECO watchdogs and, if this is a PHYS_ADDR_T_64BIT kernel,
|
|
|
* long pointers in master configuration register
|
|
|
*/
|
|
|
- clrsetbits_32(&ctrl->mcr, MCFGR_AWCACHE_MASK, MCFGR_AWCACHE_CACH |
|
|
|
- MCFGR_AWCACHE_BUFF | MCFGR_WDENABLE | MCFGR_LARGE_BURST |
|
|
|
+ clrsetbits_32(&ctrl->mcr, MCFGR_AWCACHE_MASK | MCFGR_LONG_PTR,
|
|
|
+ MCFGR_AWCACHE_CACH | MCFGR_AWCACHE_BUFF |
|
|
|
+ MCFGR_WDENABLE | MCFGR_LARGE_BURST |
|
|
|
(sizeof(dma_addr_t) == sizeof(u64) ? MCFGR_LONG_PTR : 0));
|
|
|
|
|
|
/*
|