ARM: pxa: Don't hardcode addresses and size in map_desc tables
The virtual address, physical address and size of all regions for which we create static mappings are defined in PXA headers. Replaced the hardcoded values with macros. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:

committed by
Olof Johansson

parent
ab70e7e7e5
commit
0e32986c0f
@@ -20,7 +20,7 @@
|
||||
* The mapping is set in mach-pxa/generic.c.
|
||||
*/
|
||||
#define UNCACHED_PHYS_0 0xff000000
|
||||
#define UNCACHED_ADDR UNCACHED_PHYS_0
|
||||
#define UNCACHED_PHYS_0_SIZE 0x00100000
|
||||
|
||||
/*
|
||||
* Intel PXA2xx internal register mapping:
|
||||
|
Reference in New Issue
Block a user