mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
67c0f08d16
commit
3f0855b14b
6 changed files with 10 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue