mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
7ca2850cbc
ACPI (Advanced Configuration and Power Interface) is a standard for specifying information about a platform. It is a little like device tree but the bindings are part of the specification and it supports an interpreted bytecode language. Driver model does not use ACPI for U-Boot's configuration, but it is convenient to have it support generation of ACPI tables for passing to Linux, etc. As a starting point, add an optional set of ACPI operations to each device. Initially only a single operation is available, to obtain the ACPI name for the device. More operations are added later. Enable ACPI for sandbox to ensure build coverage and so that we can add tests. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
19 lines
655 B
Makefile
19 lines
655 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2013 Google, Inc
|
|
|
|
obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o
|
|
obj-$(CONFIG_$(SPL_TPL_)ACPIGEN) += acpi.o
|
|
obj-$(CONFIG_DEVRES) += devres.o
|
|
obj-$(CONFIG_$(SPL_)DM_DEVICE_REMOVE) += device-remove.o
|
|
obj-$(CONFIG_$(SPL_)SIMPLE_BUS) += simple-bus.o
|
|
obj-$(CONFIG_DM) += dump.o
|
|
obj-$(CONFIG_$(SPL_TPL_)REGMAP) += regmap.o
|
|
obj-$(CONFIG_$(SPL_TPL_)SYSCON) += syscon-uclass.o
|
|
obj-$(CONFIG_OF_LIVE) += of_access.o of_addr.o
|
|
ifndef CONFIG_DM_DEV_READ_INLINE
|
|
obj-$(CONFIG_OF_CONTROL) += read.o
|
|
endif
|
|
obj-$(CONFIG_OF_CONTROL) += of_extra.o ofnode.o read_extra.o
|
|
|
|
ccflags-$(CONFIG_DM_DEBUG) += -DDEBUG
|