300-mips_expose_boot_raw.patch 924 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From: Mark Miller <mark@mirell.org>
  2. Subject: mips: expose CONFIG_BOOT_RAW
  3. This exposes the CONFIG_BOOT_RAW symbol in Kconfig. This is needed on
  4. certain Broadcom chipsets running CFE in order to load the kernel.
  5. Signed-off-by: Mark Miller <mark@mirell.org>
  6. Acked-by: Rob Landley <rob@landley.net>
  7. ---
  8. --- a/arch/mips/Kconfig
  9. +++ b/arch/mips/Kconfig
  10. @@ -1065,9 +1065,6 @@ config FW_ARC
  11. config ARCH_MAY_HAVE_PC_FDC
  12. bool
  13. -config BOOT_RAW
  14. - bool
  15. -
  16. config CEVT_BCM1480
  17. bool
  18. @@ -2964,6 +2961,18 @@ choice
  19. bool "Extend builtin kernel arguments with bootloader arguments"
  20. endchoice
  21. +config BOOT_RAW
  22. + bool "Enable the kernel to be executed from the load address"
  23. + default n
  24. + help
  25. + Allow the kernel to be executed from the load address for
  26. + bootloaders which cannot read the ELF format. This places
  27. + a jump to start_kernel at the load address.
  28. +
  29. + If unsure, say N.
  30. +
  31. +
  32. +
  33. endmenu
  34. config LOCKDEP_SUPPORT