[U-Boot] [PATCH 07/11] arm: omap5: make hw_init_data weak

Felipe Balbi balbi at ti.com
Thu Nov 6 15:28:48 CET 2014


this way we can let boards overwrite based
on what they need.

Signed-off-by: Felipe Balbi <balbi at ti.com>
---
 arch/arm/cpu/armv7/omap5/hw_data.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c
index 8b4d53a..95f1686 100644
--- a/arch/arm/cpu/armv7/omap5/hw_data.c
+++ b/arch/arm/cpu/armv7/omap5/hw_data.c
@@ -593,7 +593,7 @@ const struct ctrl_ioregs ioregs_dra72x_es1 = {
 	.ctrl_ddr_ctrl_ext_0 = 0xA2000000,
 };
 
-void hw_data_init(void)
+void __weak hw_data_init(void)
 {
 	u32 omap_rev = omap_revision();
 
-- 
2.1.0.GIT



More information about the U-Boot mailing list