Kconfig.nxp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. menu "PowerPC and LayerScape SPL Boot options"
  2. depends on (PPC && SUPPORT_SPL && !SPL_FRAMEWORK) || \
  3. ((ARCH_LS1021A || ARCH_LS1043A || ARCH_LS1046A) && SUPPORT_SPL)
  4. config SPL_NAND_BOOT
  5. bool "Load SPL from NAND flash"
  6. depends on PPC && (SUPPORT_SPL && !SPL_FRAMEWORK)
  7. config SPL_MMC_BOOT
  8. bool "Load SPL from SD Card / eMMC"
  9. depends on PPC && (SUPPORT_SPL && !SPL_FRAMEWORK)
  10. config SPL_SPI_BOOT
  11. bool "Load SPL from SPI flash"
  12. depends on PPC && (SUPPORT_SPL && !SPL_FRAMEWORK)
  13. config SPL_FSL_PBL
  14. bool "Create SPL in Freescale PBI format"
  15. depends on (PPC || ARCH_LS1021A || ARCH_LS1043A || ARCH_LS1046A) && \
  16. SUPPORT_SPL
  17. help
  18. Create boot binary having SPL binary in PBI format concatenated with
  19. u-boot binary.
  20. config SPL_SYS_CCSR_DO_NOT_RELOCATE
  21. bool "Ensures that CCSR is not relocated"
  22. depends on PPC
  23. help
  24. If this is defined, then CFG_SYS_CCSRBAR_PHYS will be forced to a
  25. value that ensures that CCSR is not relocated.
  26. config TPL_SYS_CCSR_DO_NOT_RELOCATE
  27. def_bool y
  28. depends on SPL_SYS_CCSR_DO_NOT_RELOCATE
  29. menu "PowerPC SPL / TPL specific options"
  30. depends on PPC && (SPL && !SPL_FRAMEWORK)
  31. config SPL_INIT_MINIMAL
  32. bool "Arch init code will be built for a very small image"
  33. config SPL_FLUSH_IMAGE
  34. bool "Clean dcache and invalidate icache after loading the image"
  35. config SPL_SKIP_RELOCATE
  36. bool "Skip relocating SPL"
  37. config SPL_GD_ADDR
  38. hex "Address to use for global data (gd) in SPL"
  39. depends on !SPL_INIT_MINIMAL
  40. config SPL_RELOC_TEXT_BASE
  41. hex "Address to relocate SPL to"
  42. default SPL_TEXT_BASE
  43. help
  44. If unspecified, this is equal to CONFIG_SPL_TEXT_BASE (i.e. no
  45. relocation is done).
  46. config SPL_RELOC_STACK
  47. hex "Address of the start of the stack SPL will use after relocation."
  48. help
  49. If unspecified, this is equal to CFG_SYS_SPL_MALLOC_START. Starting
  50. address of the malloc pool used in SPL. When this option is set the full
  51. malloc is used in SPL and it is set up by spl_init() and before that, the
  52. simple malloc() can be used if CONFIG_SYS_MALLOC_F is defined.
  53. config SPL_RELOC_MALLOC
  54. bool "SPL has malloc pool after relocation"
  55. config SPL_RELOC_MALLOC_ADDR
  56. hex "Address of malloc pool in SPL"
  57. depends on SPL_RELOC_MALLOC
  58. config SPL_RELOC_MALLOC_SIZE
  59. hex "Size of malloc pool in SPL"
  60. depends on SPL_RELOC_MALLOC
  61. config TPL_GD_ADDR
  62. hex "Address to use for global data (gd) in TPL"
  63. depends on TPL
  64. config TPL_RELOC_TEXT_BASE
  65. hex "Address to relocate TPL to"
  66. depends on TPL
  67. default TPL_TEXT_BASE
  68. help
  69. If unspecified, this is equal to CONFIG_TPL_TEXT_BASE (i.e. no
  70. relocation is done).
  71. config TPL_RELOC_STACK
  72. hex "Address of the start of the stack TPL will use after relocation."
  73. depends on TPL
  74. help
  75. If unspecified, this is equal to CONFIG_SYS_TPL_MALLOC_START. Starting
  76. address of the malloc pool used in TPL. When this option is set the full
  77. malloc is used in TPL and it is set up by spl_init() and before that, the
  78. simple malloc() can be used if CONFIG_SYS_MALLOC_F is defined.
  79. config TPL_RELOC_MALLOC
  80. bool "TPL has malloc pool after relocation"
  81. depends on TPL
  82. config TPL_RELOC_MALLOC_ADDR
  83. hex "Address of malloc pool in TPL"
  84. depends on TPL_RELOC_MALLOC
  85. config TPL_RELOC_MALLOC_SIZE
  86. hex "Size of malloc pool in TPL"
  87. depends on TPL_RELOC_MALLOC
  88. config TPL_PAD_TO
  89. hex "Offset to which the TPL should be padded before appending the TPL payload"
  90. depends on TPL && !TPL_FRAMEWORK
  91. default TPL_MAX_SIZE
  92. help
  93. Image offset to which the TPL should be padded before appending the
  94. TPL payload. By default, this is defined as CONFIG_TPL_MAX_SIZE, or 0 if
  95. CONFIG_TPL_MAX_SIZE is undefined. CONFIG_TPL_PAD_TO must be either
  96. 0, meaning to append the TPL payload without any padding, or >=
  97. CONFIG_TPL_MAX_SIZE.
  98. endmenu
  99. endmenu