coreboot/src/drivers
Aaron Durbin 6b37867b3e UPSTREAM: lib: provide clearer devicetree semantics
The devicetree data structures have been available in more than just
ramstage and romstage. In order to provide clearer and consistent
semantics two new macros are provided:

1. DEVTREE_EARLY which is true when !ENV_RAMSTAGE
2. DEVTREE_CONST as a replacment for ROMSTAGE_CONST

The ROMSTAGE_CONST attribute is used in the source code to mark
the devicetree data structures as const in early stages even though
it's not just romstage. Therefore, rename the attribute to
DEVTREE_CONST as that's the actual usage. The only place where the
usage was not devicetree related is console_loglevel, but the same
name was used for consistency. Any stage that is not ramstage has
the const C attribute applied when DEVTREE_CONST is used.

BUG=none
BRANCH=none
TEST=none

Change-Id: If0409e8e9d6a203254a9f9b749de5cab70dfc842
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: e4d7abc0d4
Original-Change-Id: Ibd51c2628dc8f68e0896974f7e4e7c8588d333ed
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19333
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/488047
2017-04-26 13:36:55 -07:00
..
ams
aspeed UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
ati/ragexl UPSTREAM: src/drivers: Add required space before opening parenthesis '(' 2016-09-04 19:36:54 -07:00
dec/21143 kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:18 +02:00
elog UPSTREAM: elog: Print timestamp when logging event 2017-04-19 08:23:06 -07:00
emulation/qemu drivers/emulation: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:37:08 +02:00
generic UPSTREAM: drivers/regulator: Add driver for handling GPIO-based fixed regulator 2016-12-19 09:55:05 -08:00
gic
i2c UPSTREAM: drivers/i2c/tpm: Hide ACPI on unsupported platforms 2017-04-26 09:20:57 -07:00
ics/954309 drivers/ics: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:43 +02:00
intel UPSTREAM: drivers/intel/mipi_camera: Add MIPI CSI camera SSDT generator 2017-04-21 06:03:45 -07:00
ipmi UPSTREAM: src/drivers: Add required space before opening parenthesis '(' 2016-09-04 19:36:54 -07:00
lenovo UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00
maxim drivers/aspeed: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:17 +02:00
net UPSTREAM: drivers/net/rt8168: Add a macaddress cbfsfile using Kconfig 2017-01-28 04:11:03 -08:00
parade various cleanups from upstream 2017-02-06 05:03:19 -08:00
pc80 UPSTREAM: *.asl: Remove obsolete reference to TPM ASL file 2017-04-26 09:20:54 -07:00
ricoh/rce822 UPSTREAM: buildsystem: Drop explicit (k)config.h includes 2016-12-09 03:29:54 -08:00
siemens/nc_fpga UPSTREAM: siemens/nc_fpga: Add driver for Siemens NC FPGA 2016-07-07 01:09:51 -07:00
sil/3114 drivers/sil: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:36:05 +02:00
spi UPSTREAM: drivers/spi/spiconsole: Fix broken spiconsole driver 2017-04-26 09:20:58 -07:00
storage UPSTREAM: drivers/storage: Add SD/MMC/eMMC driver based upon depthcharge 2017-04-26 09:21:02 -07:00
ti drivers/ti: Switch to src/drivers/[X]/[Y]/ scheme 2016-04-19 18:34:36 +02:00
uart UPSTREAM: lib: provide clearer devicetree semantics 2017-04-26 13:36:55 -07:00
usb UPSTREAM: drivers/usb: Add option for baudrate of FT232H UART 2016-11-21 11:54:11 -08:00
xgi UPSTREAM: Add newlines at the end of all coreboot files 2016-08-05 11:45:17 -07:00
xpowers/axp209 UPSTREAM: Remove non-ascii & unprintable characters 2016-08-05 11:45:20 -07:00