]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ppce500_mpc8544ds.c
Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile
[mirror_qemu.git] / hw / ppce500_mpc8544ds.c
index 04c6acd0d559d5bf038021c141299591d3a201d7..d154c7fd7e8514d8702e1edc1809309b887afe3e 100644 (file)
@@ -46,7 +46,7 @@
 #define MPC8544_PCI_IO             0xE1000000
 #define MPC8544_PCI_IOLEN          0x10000
 
-#ifdef HAVE_FDT
+#ifdef CONFIG_FDT
 static int mpc8544_copy_soc_cell(void *fdt, const char *node, const char *prop)
 {
     uint32_t cell;
@@ -77,7 +77,7 @@ static void *mpc8544_load_device_tree(target_phys_addr_t addr,
                                      const char *kernel_cmdline)
 {
     void *fdt = NULL;
-#ifdef HAVE_FDT
+#ifdef CONFIG_FDT
     uint32_t mem_reg_property[] = {0, ramsize};
     char *filename;
     int fdt_size;