[PATCH 07/12] lib: bootm: Use __iomem specifier for memory pointer

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


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

diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index c0e4e15..87ee89d 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -142,7 +142,7 @@ struct zimage_header {
 static int do_bootz_linux_fdt(int fd, struct image_data *data)
 {
 	struct fdt_header __header, *header;
-	void *oftree;
+	void __iomem *oftree;
 	int ret;
 
 	u32 end;
@@ -204,7 +204,7 @@ static int do_bootz_linux(struct image_data *data)
 {
 	int fd, ret, swap = 0;
 	struct zimage_header __header, *header;
-	void *zimage;
+	void __iomem *zimage;
 	u32 end;
 	unsigned long load_address = data->os_address;
 
-- 
1.8.3.2




More information about the barebox mailing list