summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gong <b38343@freescale.com>2013-09-09 13:07:51 +0800
committerRobin Gong <b38343@freescale.com>2013-09-09 13:07:51 +0800
commitccefb06661500884c17a8730a3ffc4aca24a8e7e (patch)
tree30400aa05506d01040a9ad230069274f38f4ca84
parent2a04d642b52cf1dc63651e6be016097177b0584f (diff)
downloadu-boot-imx-ccefb06661500884c17a8730a3ffc4aca24a8e7e.zip
u-boot-imx-ccefb06661500884c17a8730a3ffc4aca24a8e7e.tar.gz
u-boot-imx-ccefb06661500884c17a8730a3ffc4aca24a8e7e.tar.bz2
ENGR00278711: ARM: mx6: use working_fdt instead of 'images.ft_addr'
If we use 'bootz' to boot kernel, u-boot will not touch the global 'images', but in both 'bootm' and 'bootz' will use 'working_fdt' as the fdt load address. So we replace 'images.ft_addr' with 'working_fdt' to support 'bootz' and 'bootm'. Signed-off-by: Robin Gong <b38343@freescale.com>
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index b3e2554..2d348e5 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -456,8 +456,8 @@ int check_ldo_bypass(void)
const int *ldo_mode;
int node;
- /* get the right fdt_addr */
- gd->fdt_blob = images.ft_addr;
+ /* get the right fdt_blob from the global working_fdt */
+ gd->fdt_blob = working_fdt;
/* Get the node from FDT for anatop ldo-bypass */
node = fdt_node_offset_by_compatible(gd->fdt_blob, -1,
"fsl,imx6q-gpc");