]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - board/freescale/p2041rdb/p2041rdb.c
common: Drop image.h from common header
[thirdparty/u-boot.git] / board / freescale / p2041rdb / p2041rdb.c
index 21fb66f184a4c0e65eac2c577fbd9d1211dc9f8d..076e63a35734f7ba7b42950c2c44e9e065ae6c59 100644 (file)
@@ -1,11 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright 2011,2012 Freescale Semiconductor, Inc.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <command.h>
+#include <env.h>
+#include <fdt_support.h>
+#include <image.h>
+#include <init.h>
 #include <netdev.h>
 #include <linux/compiler.h>
 #include <asm/mmu.h>
@@ -219,8 +222,8 @@ int ft_board_setup(void *blob, bd_t *bd)
 
        ft_cpu_setup(blob, bd);
 
-       base = getenv_bootm_low();
-       size = getenv_bootm_size();
+       base = env_get_bootm_low();
+       size = env_get_bootm_size();
 
        fdt_fixup_memory(blob, (u64)base, (u64)size);