[U-Boot] [RFC 04/10] ARM: do not set gd in generic board again

Jeroen Hofstee jeroen at myspectrum.nl
Sat May 31 22:32:18 CEST 2014


Since crt0.S / crt0_64.S already allocate gd and assing it there
is no need to do it again board_f / board_r as it only wastes
stack space.
---
 arch/arm/include/asm/config.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/include/asm/config.h b/arch/arm/include/asm/config.h
index 2a20a77..abf79e5 100644
--- a/arch/arm/include/asm/config.h
+++ b/arch/arm/include/asm/config.h
@@ -7,8 +7,6 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
-#define CONFIG_SYS_GENERIC_GLOBAL_DATA
-
 #define CONFIG_LMB
 #define CONFIG_SYS_BOOT_RAMDISK_HIGH
 
-- 
1.8.3.2



More information about the U-Boot mailing list