0121-MIPS-lantiq-make-it-possible-to-build-in-no-device-t.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From 8cfe01de7d5c974165c1383fcc9e1dad6953341d Mon Sep 17 00:00:00 2001
  2. From: Hauke Mehrtens <hauke@hauke-m.de>
  3. Date: Sat, 19 Mar 2016 17:06:00 +0100
  4. Subject: [PATCH 2/2] MIPS: lantiq: make it possible to build in no device tree
  5. Now it is possible to build in no device tree at all and depend on the
  6. boot loader providing one or someone concatenating a device tree to the
  7. end of the image.
  8. This was copied from arch/mips/bmips/Kconfig
  9. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  10. ---
  11. arch/mips/lantiq/Kconfig | 12 +++++++++++-
  12. 1 file changed, 11 insertions(+), 1 deletion(-)
  13. --- a/arch/mips/lantiq/Kconfig
  14. +++ b/arch/mips/lantiq/Kconfig
  15. @@ -27,7 +27,17 @@ config SOC_FALCON
  16. endchoice
  17. choice
  18. - prompt "Devicetree"
  19. + prompt "Built-in device tree"
  20. + help
  21. + Legacy bootloaders do not pass a DTB pointer to the kernel, so
  22. + if a "wrapper" is not being used, the kernel will need to include
  23. + a device tree that matches the target board.
  24. +
  25. + The builtin DTB will only be used if the firmware does not supply
  26. + a valid DTB.
  27. +
  28. +config LANTIQ_DT_NONE
  29. + bool "None"
  30. config DT_EASY50712
  31. bool "Easy50712"