coreboot/src
Aaron Durbin 6f1e8d24af device: untangle device_t from struct device some more
This further allows compilation units to be re-used without
having to add macro guards because of declarations not being
around in the __SIMPLE_DEVICE__ case. These declarations are for
functions that operate on struct device. struct device is a known
type so just expose the functions using the correct type. Also,
DEVTREE_CONST is empty while in ramstage so there's no reason
to separate the declarations. They compile regardless of stage.

Change-Id: Idd4180437d30e7dfaa9f735416c108841e43129f
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22397
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
2017-11-10 06:33:28 +00:00
..
acpi src/acpi: Add guards on all header files 2017-08-01 23:04:27 +00:00
arch arch/riscv: Use a separate trap stack 2017-11-07 12:30:38 +00:00
commonlib commonlib/helpers.h: Include stddef.h 2017-11-04 00:32:13 +00:00
console console: Ignore loglevel in nvram until ramstage 2017-09-25 13:35:29 +00:00
cpu Microcode: add dependency to header files 2017-11-07 12:16:58 +00:00
device device/device_util: Add string for DEVICE_PATH_NONE 2017-11-07 12:32:13 +00:00
drivers drivers/i2c/tpm/cr50: Increase init delay to 30 seconds 2017-11-09 19:05:32 +00:00
ec ec/lenovo/h8: Clear EC output queue before enablement 2017-11-07 12:26:51 +00:00
include device: untangle device_t from struct device some more 2017-11-10 06:33:28 +00:00
lib src: Fix all Siemens copyrights 2017-11-07 12:33:51 +00:00
mainboard mainboard/google/zoombini: add dptf.asl and gpio.h 2017-11-09 19:12:19 +00:00
northbridge nb/intel/gm45: Enable LAPIC monotonic timer 2017-11-03 16:19:27 +00:00
security security/vboot: Move vboot2 to security kconfig section 2017-10-22 02:14:46 +00:00
soc soc/amd/stoneyridge: Fix and clean lpc.c 2017-11-09 21:49:26 +00:00
southbridge sb and soc: Enforce correct offset of member "chromeos" in global_nvs_t 2017-11-04 00:33:26 +00:00
superio superio/acpi/pnp.asl: Fix PNP_READ_DMA/PNP_WRITE_DMA macros 2017-10-25 14:32:39 +00:00
vendorcode src: Fix all Siemens copyrights 2017-11-07 12:33:51 +00:00
Kconfig intel/common/smbus: increase spd read performance 2017-10-31 15:49:55 +00:00