[PATCH 06/12] lib: bootz: Use __iomem specifier for memory pointer

Alexander Shiyan shc_work at mail.ru
Sat Jan 25 14:34:22 EST 2014


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 arch/arm/lib/bootz.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/lib/bootz.c b/arch/arm/lib/bootz.c
index e32a77b..791ca81 100644
--- a/arch/arm/lib/bootz.c
+++ b/arch/arm/lib/bootz.c
@@ -25,8 +25,8 @@ static int do_bootz(int argc, char *argv[])
 {
 	int fd, ret, swap = 0;
 	struct zimage_header __header, *header;
-	void *zimage;
-	void *oftree = NULL;
+	void __iomem *zimage;
+	void __iomem *oftree = NULL;
 	u32 end;
 	int usemap = 0;
 	struct memory_bank *bank = list_first_entry(&memory_banks, struct memory_bank, list);
-- 
1.8.3.2




More information about the barebox mailing list