summaryrefslogtreecommitdiff
path: root/arch/x86/lib/init_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/init_helpers.c')
-rw-r--r--arch/x86/lib/init_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c
index 414fdcc4c9..7df9536a47 100644
--- a/arch/x86/lib/init_helpers.c
+++ b/arch/x86/lib/init_helpers.c
@@ -111,7 +111,7 @@ int calculate_relocation_address(void)
*/
if (gd->fdt_blob) {
dest_addr -= fdt_size;
- gd->arch.new_fdt = (void *)dest_addr;
+ gd->new_fdt = (void *)dest_addr;
dest_addr &= ~15;
}
#endif