On 13.11.2008 03:20, Stefan Reinauer wrote:
> [EMAIL PROTECTED] wrote:
>
>> Fewer errors. The weird part: I had to move all the i82801gx south files to
>> be compiled to the mainboard.
>>
>> Why? Because the board doesn't use ide support. So you can't compile that
>> in, it's not in the dts.
>>
>>
> Oh, the dts is not capable of marking a device unused? This looks like a
> major shortcoming. I thought we had a discussion about a disabled flag
> in the past that would allow disabling a device.
>
> But: The board uses IDE support.
>
>
>
> Only a quick glance at the DTS stuff, but it's confusing me:
>
>> Modified: coreboot-v3/mainboard/kontron/986lcd-m/dts
>> ===================================================================
>> --- coreboot-v3/mainboard/kontron/986lcd-m/dts 2008-11-12 22:43:50 UTC
>> (rev 1008)
>> +++ coreboot-v3/mainboard/kontron/986lcd-m/dts 2008-11-12 23:09:42 UTC
>> (rev 1009)
>> @@ -181,6 +181,13 @@
>> [EMAIL PROTECTED],0{/* which ich? */
>>
>> /config/("southbridge/intel/i82801gx/ich7m_dh_lpc.dts");
>> };
>> + [EMAIL PROTECTED],2{
>> +
>> /config/("southbridge/intel/i82801gx/sata.dts");
>> + };
>> + [EMAIL PROTECTED],3{
>> +
>> /config/("southbridge/intel/i82801gx/smbus.dts");
>> + };
>> +
>> };
>> [EMAIL PROTECTED] {
>> /config/("superio/winbond/w83627thg/dts");
>>
>>
>>
> So, the generic ICH7 device structure is described in the mainboard dts?
> We need to mention in the mainboard dts that there's 1f,0 and 1f,2 and
> which config it uses? That's a rather generic device description
>
I agree. That stuff really belongs in the chipset dts. However, that
means we need multilevel dts. Is that good or bad?
>> Modified: coreboot-v3/southbridge/intel/i82801gx/sata.dts
>> ===================================================================
>> --- coreboot-v3/southbridge/intel/i82801gx/sata.dts 2008-11-12 22:43:50 UTC
>> (rev 1008)
>> +++ coreboot-v3/southbridge/intel/i82801gx/sata.dts 2008-11-12 23:09:42 UTC
>> (rev 1009)
>> @@ -20,4 +20,9 @@
>>
>> {
>> device_operations = "i82801gx_sata_normal_driver";
>> + ide_legacy_combined = "0";
>> + ide_enable_primary = "0";
>> + ide_enable_secondary = "0";
>> + sata_ahci = "0";
>> };
>> +
>>
>>
> --- and --- the mainboard specific variables are in the generic code?
>
> Now, this is definitely very unexpected. Is this a shortcoming in our
> DTS/DTC concept? Something's really fishy here.
>
I need to check if there is an overlay capability for the device tree.
That way, only devices which differ from the default need to be
specified in the mainboard dts.
Regards,
Carl-Daniel
--
http://www.hailfinger.org/
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot