diff options
author | Stefan Roese <sr@denx.de> | 2014-09-30 12:41:17 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-10-01 09:12:02 +0200 |
commit | 1dd42e313b1b7416d756d9fd9899b300fd238793 (patch) | |
tree | 4db0715572f56ec800b04baaa708c0a7930ff5e8 /board/gateworks | |
parent | 13bc86037e832f547dacda81339d74177f2e569d (diff) | |
download | u-boot-1dd42e313b1b7416d756d9fd9899b300fd238793.tar.gz u-boot-1dd42e313b1b7416d756d9fd9899b300fd238793.tar.bz2 u-boot-1dd42e313b1b7416d756d9fd9899b300fd238793.zip |
ARM: mx6: gw_ventana: Remove superfluous memset of GD in board_init_f
Zeroing GD in board_init_f() is not needed any more. As its now done in
crt0.S. The patch that clears the GD in crt0.S is this one:
aae2aef9 [arm: Set up global data before board_init_f()] from Simon.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks')
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana_spl.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana_spl.c b/board/gateworks/gw_ventana/gw_ventana_spl.c index 9fc253bb82..ca35b3cb7e 100644 --- a/board/gateworks/gw_ventana/gw_ventana_spl.c +++ b/board/gateworks/gw_ventana/gw_ventana_spl.c @@ -402,13 +402,6 @@ void board_init_f(ulong dummy) struct ventana_board_info ventana_info; int board_model; - /* - * Zero out global data: - * - this shoudl be done by crt0.S - * - failure to zero it will cause i2c_setup to fail - */ - memset((void *)gd, 0, sizeof(struct global_data)); - /* setup AIPS and disable watchdog */ arch_cpu_init(); |