platform_drv: check acpi ability by platform_info

Instead of retieving the information about the underlying platform from
the configuration, check the running kernel from the platform_info. This
commit removes the undocumented "acpi" config attribute.
This commit is contained in:
Stefan Kalkowski
2019-05-07 14:56:02 +02:00
committed by Christian Helmuth
parent be053ed257
commit 4fa34190de
2 changed files with 21 additions and 11 deletions

View File

@@ -175,13 +175,7 @@ proc platform_drv_config_config {} {
<config acpi_ready="yes">}
}
if {[have_spec acpi] || [have_spec arm] || [have_spec muen]} {
return {
<config>}
}
return {
<config acpi="no">}
return {<config>}
}