summaryrefslogtreecommitdiff
path: root/board/freescale/ls1043aqds
diff options
context:
space:
mode:
authorQianyu Gong <qianyu.gong@nxp.com>2016-04-26 12:51:42 +0800
committerYork Sun <york.sun@nxp.com>2016-05-18 08:51:45 -0700
commitec93abe6f722e6e0103f96ee01bcd376e246f111 (patch)
treed14fe4a9a6fe12cd22ecad5f5130973d5464f86f /board/freescale/ls1043aqds
parent1297cdb452fcdc6e7149c6761e43629f9c732010 (diff)
armv8: ls1043a: remove redundant code in board files
gd->env_addr will be initialized in env_init() in common/env_nowhere.c if CONFIG_ENV_IS_NOWHERE is defined. So no need to do it again. Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/ls1043aqds')
-rw-r--r--board/freescale/ls1043aqds/ls1043aqds.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/board/freescale/ls1043aqds/ls1043aqds.c b/board/freescale/ls1043aqds/ls1043aqds.c
index fc097d968a5..ca393e862d7 100644
--- a/board/freescale/ls1043aqds/ls1043aqds.c
+++ b/board/freescale/ls1043aqds/ls1043aqds.c
@@ -317,10 +317,6 @@ int board_init(void)
#ifdef CONFIG_LAYERSCAPE_NS_ACCESS
enable_layerscape_ns_access();
#endif
-
-#ifdef CONFIG_ENV_IS_NOWHERE
- gd->env_addr = (ulong)&default_environment[0];
-#endif
return 0;
}