From 3f0855b14b071655396c71f0d38970b9e21be92f Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 27 Jul 2009 16:12:52 +0200 Subject: Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/petalogix_s3adsp1800_mmu.c | 4 ++-- hw/ppc440_bamboo.c | 2 +- hw/ppce500_mpc8544ds.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'hw') diff --git a/hw/petalogix_s3adsp1800_mmu.c b/hw/petalogix_s3adsp1800_mmu.c index 1a1cc0e3..68a1a6a 100644 --- a/hw/petalogix_s3adsp1800_mmu.c +++ b/hw/petalogix_s3adsp1800_mmu.c @@ -52,14 +52,14 @@ static int petalogix_load_device_tree(target_phys_addr_t addr, target_phys_addr_t initrd_size, const char *kernel_cmdline) { -#ifdef HAVE_FDT +#ifdef CONFIG_FDT void *fdt; int r; #endif char *path; int fdt_size; -#ifdef HAVE_FDT +#ifdef CONFIG_FDT /* Try the local "mb.dtb" override. */ fdt = load_device_tree("mb.dtb", &fdt_size); if (!fdt) { diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c index 624e15b..5011679 100644 --- a/hw/ppc440_bamboo.c +++ b/hw/ppc440_bamboo.c @@ -32,7 +32,7 @@ static void *bamboo_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, 0, ramsize }; char *filename; int fdt_size; diff --git a/hw/ppce500_mpc8544ds.c b/hw/ppce500_mpc8544ds.c index 04c6acd..d154c7f 100644 --- a/hw/ppce500_mpc8544ds.c +++ b/hw/ppce500_mpc8544ds.c @@ -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; -- cgit v1.1