[PATCH 19/32] kconfig: Add configuration files for noproper and nospl

Simon Glass sjg at chromium.org
Tue Jan 31 16:26:49 CET 2023


These files indicate which options are not for use in U-Boot proper and
which are not for use in SPL builds. This allows the kconfig tool to
correctly generate its output.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 scripts/conf_noproper | 175 ++++++++++++++++++++++++++++++++++++++++++
 scripts/conf_nospl    |  79 +++++++++++++++++++
 2 files changed, 254 insertions(+)
 create mode 100644 scripts/conf_noproper
 create mode 100644 scripts/conf_nospl

diff --git a/scripts/conf_noproper b/scripts/conf_noproper
new file mode 100644
index 00000000000..e6066dac41b
--- /dev/null
+++ b/scripts/conf_noproper
@@ -0,0 +1,175 @@
+# These options should not be enabled in Proper builds
+
+ALTERA_SDRAM
+AM33XX_ENABLE_RTC32K_OSC
+ARMV7_SET_CORTEX_SMPEN
+AT91_MCK_BYPASS
+ATF
+ATF_LOAD_IMAGE_V2
+ATF_NO_PLATFORM_PARAM
+BANNER_PRINT
+BINMAN_SYMBOLS
+BINMAN_UBOOT_SYMBOLS
+BOARD_INIT
+BOOTMETH_VBE_SIMPLE_FW
+BOOTROM_SUPPORT
+BSS_MAX_SIZE
+BSS_START_ADDR
+BUILD
+CRYPTO
+DEBUG
+DFU_NO_RESET
+DISPLAY_PRINT
+DRIVERS_MISC
+EARLY_BSS
+ETH_DEVICE
+FALCON_BOOT_MMCSD
+FIT_GENERATOR
+FIT_IMAGE_TINY
+FIT_SOURCE
+FLUSH_IMAGE
+FOO
+FRAMEWORK
+FRAMEWORK_BOARD_INIT_F
+FRED
+FSL_PBL
+FS_LOAD_ARGS_NAME
+FS_LOAD_KERNEL_NAME
+FS_LOAD_PAYLOAD_NAME
+GD_ADDR
+GENERATE_ATMEL_PMECC_HEADER
+IMAGE
+IMAGE_TYPE
+IMX_ROMAPI_LOADADDR
+INIT_MINIMAL
+KERNEL_BOOT
+LDSCRIPT
+LEGACY_BLOCK
+LEGACY_IMAGE_CRC_CHECK
+LIBCOMMON_SUPPORT
+LIBCRYPTO
+LIBDISK_SUPPORT
+LIBGENERIC_SUPPORT
+LOADER_SUPPORT
+LOAD_FIT
+LOAD_FIT_ADDRESS
+LOAD_FIT_APPLY_OVERLAY
+LOAD_FIT_APPLY_OVERLAY_BUF_SZ
+LOAD_FIT_FULL
+LOAD_IMX_CONTAINER
+MALTA
+MAX_FOOTPRINT
+MAX_PEB_SIZE
+MAX_SIZE
+MEMSIZE_IN_BYTES
+MKEFICAPSULE
+MMC_BOOT
+MMC_TINY
+MPC83XX_WAIT_FOR_NAND
+MPC8XXX_INIT_DDR
+MTD_SUPPORT
+MUSB_NEW
+MXS_PSWITCH_WAIT
+NAND_AM33XX_BCH
+NAND_BASE
+NAND_DRIVERS
+NAND_ECC
+NAND_IDENT
+NAND_INIT
+NAND_LOAD
+NAND_RAW_ONLY
+NAND_SIMPLE
+NAND_SOFTECC
+NAND_SUPPORT
+NEEDS_SEPARATE_STACK
+NET_VCI_STRING
+NOR_SUPPORT
+NO_CPU_SUPPORT
+NS16550_MIN_FUNCTIONS
+OF_PLATDATA
+OF_PLATDATA_DRIVER_RT
+OF_PLATDATA_INST
+OF_PLATDATA_NO_BIND
+OF_PLATDATA_PARENT
+OF_PLATDATA_RT
+OMAP3_ID_NAND
+ONENAND_SUPPORT
+OPENSBI
+OPENSBI_LOAD_ADDR
+OPENSBI_SCRATCH_OPTIONS
+OS_BOOT
+PAD_TO
+PANIC_ON_RAW_IMAGE
+PAYLOAD
+PLATDATA
+POST_MEM_SUPPORT
+POWER_TPS65910
+RAM_DEVICE
+RAM_SUPPORT
+RAW_IMAGE_SUPPORT
+READ_ONLY
+RECOVER_DATA_SECTION
+RELOC_MALLOC_ADDR
+RELOC_MALLOC_SIZE
+RELOC_STACK
+RELOC_TEXT_BASE
+ROCKCHIP_BACK_TO_BROM
+ROCKCHIP_EARLYRETURN_TO_BROM
+RTC
+RTC_DDR_SUPPORT
+SATA_RAW_U_BOOT_SECTOR
+SATA_RAW_U_BOOT_USE_SECTOR
+SDP_USB_DEV
+SEPARATE_BSS
+SHOW_ERRORS
+SIZE_LIMIT
+SIZE_LIMIT_PROVIDE_STACK
+SIZE_LIMIT_SUBTRACT_GD
+SIZE_LIMIT_SUBTRACT_MALLOC
+SKIP_RELOCATE
+SPI_FLASH_SUPPORT
+SPI_FLASH_TINY
+SPI_LOAD
+STACK
+STACK_R
+STACK_R_ADDR
+STACK_R_MALLOC_SIMPLE_LEN
+SYS_CCSR_DO_NOT_RELOCATE
+SYS_MALLOC_SIMPLE
+SYS_NO_VECTOR_TABLE
+SYS_REPORT_STACK_F_USAGE
+TARGET
+THERMAL
+TINY_MEMSET
+UART2_SPIS_PINMUX
+UART_CLOCK
+UBI
+UBI_INFO_ADDR
+UBI_LEB_START
+UBI_LOAD_ARGS_ID
+UBI_LOAD_BY_VOLNAME
+UBI_LOAD_KERNEL_ID
+UBI_LOAD_MONITOR_ID
+UBI_LOAD_MONITOR_VOLNAME
+UBI_MAX_PEBS
+UBI_MAX_PEB_SIZE
+UBI_MAX_VOL_LEBS
+UBI_PEB_OFFSET
+UBI_VID_OFFSET
+UBI_VOL_IDS
+UBI_VOL_ID_MAX
+UBOOT_KEY_HASH
+USB_HOST_SUPPORT
+USB_SDP_SUPPORT
+USE_TINY_PRINTF
+X86_TSC_TIMER_NATIVE
+XIP_SUPPORT
+YMODEM_SUPPORT
+ZYNQMP_ALT_BOOTMODE
+ZYNQMP_ALT_BOOTMODE_ENABLED
+ZYNQMP_DRAM_BANK1_BASE
+ZYNQMP_DRAM_BANK1_LEN
+ZYNQMP_DRAM_BANK2_BASE
+ZYNQMP_DRAM_BANK2_LEN
+ZYNQMP_DRAM_ECC_INIT
+ZYNQMP_RESTORE_JTAG
diff --git a/scripts/conf_nospl b/scripts/conf_nospl
new file mode 100644
index 00000000000..88b38c636ec
--- /dev/null
+++ b/scripts/conf_nospl
@@ -0,0 +1,79 @@
+# These options should not be enabled in SPL builds
+
+ACPI_PMC_SANDBOX
+BINMAN_FDT
+CLK_INTEL
+CMD_MMC_RPMB
+CMD_MMC_SWRITE
+DFU_MMC
+DFU_MTD
+DFU_NAND
+DFU_SF
+DFU_SF_PART
+DFU_WRITE_ALT
+DMA_LEGACY
+DM_DMA
+DM_EVENT
+DM_REGULATOR_ANATOP
+DM_REGULATOR_PBIAS
+DM_REGULATOR_STM32_VREFBUF
+DM_STDIO
+DWC_AHSATA_AHCI
+EFI_DT_FIXUP
+EFI_EBBR_2_1_CONFORMANCE
+EFI_SCROLL_ON_CLEAR_SCREEN
+ENV_APPEND
+EVENT_DEBUG
+EXYNOS7870
+EXYNOS7880
+FASTBOOT_UUU_SUPPORT
+FRED
+FRU_SC
+INTEL_GENERIC_WIFI
+LOG_SYSLOG
+LS2_SFP
+MALTA
+MEMSIZE_IN_BYTES
+MIPS_BOOT_CMDLINE_LEGACY
+MIPS_BOOT_ENV_LEGACY
+MIPS_BOOT_FDT
+MMC_HW_PARTITIONING
+MMC_VERBOSE
+MSCODE_PARSER
+MUX_MMIO
+NAND_CS_INIT
+NO_FB_CLEAR
+OFNODE_MULTI_TREE
+PCF8575_GPIO
+PHY_J721E_WIZ
+PKCS7_MESSAGE_PARSER
+PKCS7_VERIFY
+PLATDATA
+PRE_CONSOLE_BUFFER
+REGULATOR_RK8XX
+RESTORE_EXCEPTION_VECTOR_BASE
+ROCKCHIP_RK8XX_DISABLE_BOOT_ON_POWERON
+SERIAL_PUTS
+SERIAL_RX_BUFFER
+SHA512_HW_ACCEL
+SILENT_CONSOLE_UPDATE_ON_RELOC
+SILENT_CONSOLE_UPDATE_ON_SET
+SIMPLE_BUS_CORRECT_RANGE
+SMC911X_32_BIT
+SPI_DIRMAP
+SPI_NOR_BOOT_SOFT_RESET_EXT_INVERT
+SPL_X86_32BIT_INIT
+STM32_ETZPC
+SYSRESET_AT91
+SYSRESET_X86
+SYS_DEVICE_NULLDEV
+SYS_WHITE_ON_BLACK
+TARGET_DENEB
+TARGET_EVB_RK3399
+TARGET_GIEDI
+TARGET_ST_STM32MP15X
+TURRIS_OMNIA_MCU
+USB_GADGET_OS_DESCRIPTORS
+X509_CERTIFICATE_PARSER
+XILINX_MICROBLAZE0_DELAY_SLOT_EXCEP
+XILINX_MICROBLAZE0_USR_EXCEP
-- 
2.39.1.456.gfc5497dd1b-goog



More information about the U-Boot mailing list