qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC][MIPS][PATCH 1/6] Initial support of bonito north


From: chen huacai
Subject: Re: [Qemu-devel] [RFC][MIPS][PATCH 1/6] Initial support of bonito north bridge used by fulong mini pc
Date: Mon, 10 May 2010 19:21:31 +0800

>> --- a/hw/mips.h
>> +++ b/hw/mips.h
>> @@ -5,6 +5,9 @@
>>  /* gt64xxx.c */
>>  PCIBus *pci_gt64120_init(qemu_irq *pic);
>>
>> +/* bonito.c */
>> +PCIBus *bonito_init_2e(qemu_irq pic);
>> +
>>  /* ds1225y.c */
>>  void *ds1225y_init(target_phys_addr_t mem_base, const char *filename);
>>  void ds1225y_set_protection(void *opaque, int protection);
>> -----
>>
>
> Please see my annotations above.
>
> Kind regards,
> Stefan Weil
>

Hi, Stefan, do you means that I should do something like this?

#ifdef CONFIG_FULONG
/* bonito.c */
PCIBus *bonito_init_2e(qemu_irq pic);
#endif

I found that even if I put CONFIG_FULONG=y in
default-configs/mips64el-softmmu.mak, CONFIG_FULONG will not get
defined in config-target.h.
Because CONFIG_FULONG=y will appear config-device.mak, but not
config-target.mak.
Could you please give me some suggestions?
-- 
Huacai Chen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]