Message ID | 20231117225214.2144414-2-trini@konsulko.com |
---|---|
State | Deferred |
Delegated to: | Simon Glass |
Headers | show |
Series | [1/2] global: Clean up arch/*/dts/Makefile | expand |
diff --git a/doc/develop/board_best_practices.rst b/doc/develop/board_best_practices.rst index f44401eab7d4..a5930be10f78 100644 --- a/doc/develop/board_best_practices.rst +++ b/doc/develop/board_best_practices.rst @@ -24,3 +24,7 @@ which are specific to creating a new board port. Kconfig fragments should reside in the board directory itself rather than in the top-level `configs/` directory. + +* A board may list device tree overlay files in `arch/$(ARCH)/dts/Makfile` but + all device trees themselves should be listed in `CONFIG_DEFAULT_DEVICE_TREE` + or `CONFIG_OF_LIST`.
We do need to list device tree overlay files in a Makefile, to ensure they are built. However, everything else should be handled via one of the CONFIG options. Signed-off-by: Tom Rini <trini@konsulko.com> --- doc/develop/board_best_practices.rst | 4 ++++ 1 file changed, 4 insertions(+)