Commit 0d36da3b authored by Stefan Roese's avatar Stefan Roese Committed by David Woodhouse

[MTD] physmap: Add support for 64 bit resources

This patch adds support for 64 bit resources enabled via the
CONFIG_RESOURCES_64BIT option. Now a 64 bit can be passed to the
physmap driver.
Signed-off-by: default avatarStefan Roese <sr@denx.de>
Signed-off-by: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent ad7d3144
...@@ -183,7 +183,7 @@ typedef union { ...@@ -183,7 +183,7 @@ typedef union {
struct map_info { struct map_info {
char *name; char *name;
unsigned long size; unsigned long size;
unsigned long phys; resource_size_t phys;
#define NO_XIP (-1UL) #define NO_XIP (-1UL)
void __iomem *virt; void __iomem *virt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment