diff options
author | Tom Rini <trini@konsulko.com> | 2017-02-08 21:24:44 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-08 21:24:44 (GMT) |
commit | 21342d4aed6c77a4aa7a5b2579b3c23e21aea31a (patch) | |
tree | 279c781bdcbe697257ff86714fa0355bcd92fd19 /arch/x86/cpu/intel_common/mrc.c | |
parent | 7582ddce132390fba10822c5977cd1ab532bb1eb (diff) | |
parent | f11a0af713a714ee2efcd810dd81c6dfd59381aa (diff) | |
download | u-boot-fsl-qoriq-21342d4aed6c77a4aa7a5b2579b3c23e21aea31a.tar.xz |
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'arch/x86/cpu/intel_common/mrc.c')
-rw-r--r-- | arch/x86/cpu/intel_common/mrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/intel_common/mrc.c b/arch/x86/cpu/intel_common/mrc.c index 01b6e86..f1a249a 100644 --- a/arch/x86/cpu/intel_common/mrc.c +++ b/arch/x86/cpu/intel_common/mrc.c @@ -149,7 +149,7 @@ int mrc_locate_spd(struct udevice *dev, int size, const void **spd_datap) spd_index = dm_gpio_get_values_as_int(desc, ret); debug("spd index %d\n", spd_index); - node = fdt_first_subnode(blob, dev->of_offset); + node = fdt_first_subnode(blob, dev_of_offset(dev)); if (node < 0) return -EINVAL; for (spd_node = fdt_first_subnode(blob, node); |