300-mips_expose_boot_raw.patch 869 B

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