Usually all embedded platform boards such as beaglebone/board, Rasp pi, etc etc have there board files that describe what hardware is present using structure's.
So Is there anything similar for the x86 based systems. How do we supply platform data for non discoverable devices in x86 systems
Edit: the config allows option to either compile with Device tree support or without it.
CONFIG_USE_OF=y
CONFIG_DTC=y
CONFIG_OF=y
CONFIG_PROC_DEVICETREE=y
Thanks. GNA
Most devices are discoverable through PCI and ACPI. (Even though most x86 CPUs are not SoCs, they have many built-in PCI devices.)
The few remaining devices (mostly legacy stuff going back to IBM PCs) are hardcoded in the x86 arch code.
Any 'new' devices that aren't PCI must be described by the BIOS in some ACPI table.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With