[U-Boot] [PATCH] A little bug in macro __arch_ioremap.

Terry Lv r65388 at freescale.com
Thu May 6 12:30:55 CEST 2010


Signed-off-by: Terry Lv <r65388 at freescale.com>
---
 arch/arm/include/asm/io.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index 0a4b5be..5122210 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -253,7 +253,7 @@ extern void __iounmap(void *addr);
 	unsigned long _off = (off), _size = (sz);		\
 	void *_ret = (void *)0;					\
 	if (iomem_valid_addr(_off, _size))			\
-		_ret = __ioremap(iomem_to_phys(_off),_size,0);	\
+		_ret = __ioremap(iomem_to_phys(_off),_size,nocache);	\
 	_ret;							\
  })
 
-- 
1.6.0.4



More information about the U-Boot mailing list