aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/ppc440_bamboo.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-05-24 16:26:57 +0100
committerPeter Maydell <peter.maydell@linaro.org>2013-06-14 15:34:19 +0100
commit187f1bcb9ce8e3cd3f634dd5405f9e5ed02b38ce (patch)
tree21e316996f3471de7867a15173ca88f82b9a0c7f /hw/ppc/ppc440_bamboo.c
parent564720219a0863625e9989fd258ccc57a616550f (diff)
downloadqemu-187f1bcb9ce8e3cd3f634dd5405f9e5ed02b38ce.zip
qemu-187f1bcb9ce8e3cd3f634dd5405f9e5ed02b38ce.tar.gz
qemu-187f1bcb9ce8e3cd3f634dd5405f9e5ed02b38ce.tar.bz2
ppc: Remove CONFIG_FDT conditionals
Now that we know we're compiling with libfdt we can remove the CONFIG_FDT conditionals. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Tested-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Message-id: 1369409217-7553-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/ppc/ppc440_bamboo.c')
-rw-r--r--hw/ppc/ppc440_bamboo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ppc/ppc440_bamboo.c b/hw/ppc/ppc440_bamboo.c
index a55e717..b0c1c02 100644
--- a/hw/ppc/ppc440_bamboo.c
+++ b/hw/ppc/ppc440_bamboo.c
@@ -58,7 +58,6 @@ static int bamboo_load_device_tree(hwaddr addr,
const char *kernel_cmdline)
{
int ret = -1;
-#ifdef CONFIG_FDT
uint32_t mem_reg_property[] = { 0, 0, cpu_to_be32(ramsize) };
char *filename;
int fdt_size;
@@ -115,7 +114,6 @@ static int bamboo_load_device_tree(hwaddr addr,
g_free(fdt);
out:
-#endif
return ret;
}