coreboot/util/lint
Maximilian Brune 33079b8174 lib/device_tree: Add some FDT helper functions
This adds some helper functions for FDT, since more and more mainboards
seem to need FDT nowadays. For example our QEMU boards need it in order
to know how much RAM is available. Also all RISC-V boards in our tree
need FDT.

This also adds some tests in order to test said functions.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I2fb1d93c5b3e1cb2f7d9584db52bbce3767b63d8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81081
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-05-21 13:44:47 +00:00
..
check-style util: Fix up a few comments after the "file is part of the" removal 2020-05-11 17:11:50 +00:00
check_lint_tests util/lint: Add lint tests to make sure they fail correctly 2022-09-04 16:43:50 +00:00
checkpatch.pl Treewide: Fix incorrect SPDX license strings 2024-02-18 01:55:57 +00:00
checkpatch_json.py util/lint/checkpatch_json.py: Make output message verbatim 2023-07-14 14:29:48 +00:00
const_structs.checkpatch
coreboot.dict util/lint: Add coreboot specific dictionary file 2022-06-22 21:40:19 +00:00
description.md
helper_functions.sh util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
kconfig_lint payloads: Rename Makefiles from .inc to .mk 2024-01-24 10:15:10 +00:00
kconfig_lint_README
lint util/lint/lint: Fix shellcheck errors in getopt support for darwin 2024-03-17 08:26:00 +00:00
lint-000-license-headers lib/device_tree: Add some FDT helper functions 2024-05-21 13:44:47 +00:00
lint-001-no-global-config-in-romstage tree: Replace egrep with grep -E 2023-04-06 19:54:44 +00:00
lint-007-checkpatch lib/jpeg: Replace decoder with Wuffs' implementation 2023-12-13 16:17:34 +00:00
lint-008-kconfig util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-014-qualified-types util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-extended-007-checkpatch util/lint: Fix linting outside of git repos 2022-10-21 14:30:42 +00:00
lint-extended-015-final-newlines util/lint: Exclude .apcb files from various checks 2023-12-17 18:43:07 +00:00
lint-extended-020-signed-off-by util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-000-license-headers util/lint: Update to check all of src for license headers 2022-08-17 19:43:30 +00:00
lint-stable-003-whitespace src, util: Update toolchain.inc references to .mk 2024-01-26 13:08:50 +00:00
lint-stable-004-style-labels lib/jpeg: Replace decoder with Wuffs' implementation 2023-12-13 16:17:34 +00:00
lint-stable-005-board-status util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-006-board-name util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-008-kconfig util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-009-old-licenses util/lint: Exclude .apcb files from various checks 2023-12-17 18:43:07 +00:00
lint-stable-010-asm-syntax util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-012-executable-bit util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-013-site-local util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-016-non-ascii util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-017-configs util/lint/stable-017: Update full config pattern matching 2023-04-06 15:11:44 +00:00
lint-stable-018-symlinks util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-019-header-files util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-021-coreboot-lowercase util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-022-clang-format util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-023-filenames util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-024-kconfig-no-subsystem util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
lint-stable-026-line-endings util/lint: Update tools that use git to use a library 2022-09-30 19:19:53 +00:00
lint-stable-027-maintainers-syntax lint: MAINTAINERS: check path matches to not only cover the directory 2021-04-13 14:29:43 +00:00
lint-stable-028-touchpad-probed-warning util/lint: Add a check for touchpads using the "probed" flag 2022-09-14 20:52:02 +00:00
lint-stable-029-kconfig-name-selects util/lint: Add linter to keep selects out of Kconfig.name 2023-11-18 01:58:24 +00:00
lint-stable-030-makefile-inc util/lint: Add lint rule to watch for Makefile.inc 2024-04-20 21:08:36 +00:00
Makefile util: Add SPDX license headers to Makefiles 2022-11-22 12:47:09 +00:00
remccoms3.sed util: Update all shebangs to use /usr/bin/env 2021-01-25 08:57:40 +00:00
spelling.txt util/lint: Fix some mistakes in spelling.txt 2023-11-01 15:26:57 +00:00