diff options
author | Robin Gong <b38343@freescale.com> | 2013-08-30 14:15:28 +0800 |
---|---|---|
committer | Robin Gong <b38343@freescale.com> | 2013-09-02 10:10:20 +0800 |
commit | b4f0b1401c18e020625d4cb24a02d57b55a5219d (patch) | |
tree | b21077d0f05e273c0a00ef9aba257422f3eecc2d /arch | |
parent | 14a0649a9611f01a6c8494c38b5d74e867baecc5 (diff) | |
download | u-boot-imx-b4f0b1401c18e020625d4cb24a02d57b55a5219d.zip u-boot-imx-b4f0b1401c18e020625d4cb24a02d57b55a5219d.tar.gz u-boot-imx-b4f0b1401c18e020625d4cb24a02d57b55a5219d.tar.bz2 |
ENGR00276023-3: ARM: mx6: enable ldo bypass check on mx6 board
Enable ldo bypass check on mx6 and get fdt->blob from 'fdt_addr' which
contained the right fdt.
Signed-off-by: Robin Gong <b38343@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 26279bf..79788b9 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -453,6 +453,10 @@ int check_ldo_bypass(void) { int ret = 0; int node; + + /* get the right fdt_addr */ + gd->fdt_blob = (void *)getenv_ulong("fdt_addr", 16, + (uintptr_t)gd->fdt_blob); /* Get the node from FDT for anatop ldo-bypass */ node = fdt_node_offset_by_compatible(gd->fdt_blob, -1, "fsl,imx6q-gpc"); |