summaryrefslogtreecommitdiff
path: root/src/lib/Kconfig
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-04-03 09:57:33 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-04-30 09:33:32 +0000
commit666c172d385823eefdfeb99ae3a4c20fd1b711f9 (patch)
tree8d21e2083f19171688181d20baea09a6b78b6bd8 /src/lib/Kconfig
parent67aca3e7dc05f0f982a50c7e8edb91a03d573687 (diff)
lib/devicetree: Integrate flattened devicetree support
* Adapt to coreboot coding style. * Use coreboot's endian conversion functions. * Fix header and header guards. * Get rid of unused functions. * Add Kconfig to build it on ramstage. * Replace size32 with ALIGN_UP and DIV_ROUND_UP. * Add NULL pointer checks * Convert constants to defines Required for Cavium's BDK and uImage FIT support. Change-Id: I6e6cd9f78fb402bd54d684097326d26eb78d552a Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/25523 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/lib/Kconfig')
-rw-r--r--src/lib/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/Kconfig b/src/lib/Kconfig
index bce0291b9b..eb4c16eb51 100644
--- a/src/lib/Kconfig
+++ b/src/lib/Kconfig
@@ -17,6 +17,12 @@ config RAMSTAGE_LIBHWBASE
help
Selected by features that require `libhwbase` in ramstage.
+config FLATTENED_DEVICE_TREE
+ bool
+ help
+ Selected by features that require to parse and manipulate a flattened
+ devicetree in ramstage.
+
if RAMSTAGE_LIBHWBASE
config HWBASE_DYNAMIC_MMIO