aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* arm: mvebu: Remove CONFIG_SPL_BOOT_DEVICEChris Packham2022-06-063-37/+0
| | | | | | | | | | | CONFIG_SPL_BOOT_DEVICE was made obsolete by CONFIG_MVEBU_SPL_BOOT_DEVICE_{SPI,MMC,SATA,UART}. CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI is the default so existing users of CONFIG_SPL_BOOT_DEVICE can simply have the option removed. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
* Convert CONFIG_FIXED_SDHCI_ALIGNED_BUFFER to KconfigChris Packham2022-06-065-39/+0
| | | | | | | | | | | CONFIG_FIXED_SDHCI_ALIGNED_BUFFER is needed on some Marvell SoCs when booting from MMC. All existing usages of this have the same value so make this the default and have the Kconfig option depend on SPL && MVEBU_SPL_BOOT_DEVICE_MMC. Signed-off-by: Chris Packham <judge.packham@gmail.com> Reviewed-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de>
* Convert CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR et al to KconfigTom Rini2022-06-0621-53/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_NAND_SPL_KERNEL_OFFS to KconfigTom Rini2022-06-0614-52/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Signed-off-by: Tom Rini <trini@konsulko.com>
* spl: Remove CONFIG_SPL_START_S_PATH and rework the logic behind itTom Rini2022-06-062-9/+0
| | | | | | | | | | | In some cases, when we don't use CONFIG_SPL_FRAMEWORK nor are we on PowerPC using their specific SPL/TPL framework, we need to specify the start.S file to use for these typically very constrained systems. Do this within the Makefile logic, rather than introducing a string-based CONFIG option, as this would get slightly complex to do in Kconfig for a very limited number of users. Signed-off-by: Tom Rini <trini@konsulko.com>
* Drop CONFIG_SPL_SIZETom Rini2022-06-067-23/+0
| | | | | | We do not reference CONFIG_SPL_SIZE in the code, remove it. Signed-off-by: Tom Rini <trini@konsulko.com>
* ax25-ae350: Move CONFIG_SYS_FDT_BASE to KconfigTom Rini2022-06-061-3/+0
| | | | | | | | | The address where the device tree will be passed in to U-Boot at is now moved to the Kconfig file. If this is user configurable, it needs to be exposed rather than hidden, and should probably be renamed as well. Reviewed-by: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_SPL_ARGS_ADDR to KconfigTom Rini2022-06-0631-52/+0
| | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_SPL_ARGS_ADDR In doing so, we also consistently use this variable for SPL_OS_BOOT and not CONFIG_SYS_FDT_BASE in some cases. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_TARGET to KconfigTom Rini2022-06-0614-32/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SPL_TARGET Signed-off-by: Tom Rini <trini@konsulko.com>
* Remove CONFIG_SPL_STACK_SIZETom Rini2022-06-061-3/+0
| | | | | | This is not used anywhere, drop it. Signed-off-by: Tom Rini <trini@konsulko.com>
* Drop CONFIG_SPL_SPI_FLASH_MINIMALTom Rini2022-06-066-6/+0
| | | | | | | There are no users of CONFIG_SPL_SPI_FLASH_MINIMAL only platforms defining it, drop it. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_GD_ADDR to KconfigTom Rini2022-06-068-13/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SPL_GD_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
* etamin: Remove CONFIG_SPL_CMT definesTom Rini2022-06-061-6/+0
| | | | | | These are presumably private to non-upstream code, remove. Signed-off-by: Tom Rini <trini@konsulko.com>
* Remove CONFIG_SYS_SPL_LEN largelyTom Rini2022-06-067-12/+1
| | | | | | | This is mostly unused. In the case where it is currently used, it means the same as CONFIG_SPL_PAD_TO, which is already set for the platform. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_SPL_MALLOC_SIZE et al to KconfigTom Rini2022-06-0686-272/+10
| | | | | | | | | | | This converts the following to Kconfig: CONFIG_SYS_SPL_MALLOC_SIZE CONFIG_SYS_SPL_MALLOC_START We introduce a default value here as well, and CONFIG_SYS_SPL_MALLOC to control if we have a malloc pool or not. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_BSS_START_ADDR to KconfigTom Rini2022-06-06107-198/+2
| | | | | | | This converts the following to Kconfig: CONFIG_SPL_BSS_START_ADDR Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_RELOC_TEXT_BASE et al to KconfigTom Rini2022-06-067-41/+0
| | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_RELOC_TEXT_BASE CONFIG_SPL_RELOC_STACK CONFIG_SPL_RELOC_MALLOC_ADDR CONFIG_SPL_RELOC_MALLOC_SIZE Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_TPL_NAND_INIT to KconfigTom Rini2022-06-062-2/+0
| | | | | | | This converts the following to Kconfig: CONFIG_TPL_NAND_INIT Signed-off-by: Tom Rini <trini@konsulko.com>
* imx7: Update CONFIG_SPL_STACK defaults in KconfigTom Rini2022-06-061-23/+0
| | | | | | | | Update the Kconfig entry to have the correct defaults for i.MX7 platforms, and move the existing large comment from imx7_spl.h to doc/imx/common/imx7.txt so that it's not lost. Signed-off-by: Tom Rini <trini@konsulko.com>
* imx6: Update CONFIG_SPL_STACK defaults in KconfigTom Rini2022-06-061-39/+0
| | | | | | | | Update the Kconfig entry to have the correct defaults for i.MX6 platforms, and move the existing large comment from imx6_spl.h to doc/imx/common/imx6.txt so that it's not lost. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_STACK to KconfigTom Rini2022-06-06116-187/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SPL_STACK Signed-off-by: Tom Rini <trini@konsulko.com>
* Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.hTom Rini2022-06-06333-984/+52
| | | | | | | | | | | | | | - Make all users of CUSTOM_SYS_INIT_SP_ADDR reference SYS_INIT_SP_ADDR - Introduce HAS_CUSTOM_SYS_INIT_SP_ADDR to allow for setting the stack pointer directly, otherwise we use the common calculation. - On some platforms that were using the standard calculation but did not set CONFIG_SYS_INIT_RAM_SIZE / CONFIG_SYS_INIT_RAM_ADDR, set them. - On a small number of platforms that were not subtracting GENERATED_GBL_DATA_SIZE do so now via the standard calculation. - CONFIG_SYS_INIT_SP_OFFSET is now widely unused, so remove it from most board config header files. Signed-off-by: Tom Rini <trini@konsulko.com>
* Introduce include/system-constants.hTom Rini2022-06-061-0/+6
| | | | | | | | | | | | | We have a number of CONFIG symbols today that are of the form: SYM1 = CONST1 + CONST2 or other static math operations (shifts, etc). The issue is that by moving these to Kconfig we no longer have the ability to calculate these values, so they become less flexible and useful. It's also the case that sometimes a platform will just define SYM1 directly or perform a slightly different set of calculations. We introduce this header now to have a place to start to handle these cases. Signed-off-by: Tom Rini <trini@konsulko.com>
* stih410-b2260: Switch to using GENERATED_GBL_DATA_SIZETom Rini2022-06-061-2/+1
| | | | | | | We have GENERATED_GBL_DATA_SIZE to tell us how large the generated global data is, so do not use a hard-coded value of 1024 for it. Signed-off-by: Tom Rini <trini@konsulko.com>
* powerpc: Switch to using CONFIG_SYS_INIT_SP_OFFSET from ↵Tom Rini2022-06-0617-46/+34
| | | | | | | | | | | | | | CONFIG_SYS_GBL_DATA_OFFSET In the places where PowerPC references CONFIG_SYS_GBL_DATA_OFFSET it does so as (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_GBL_DATA_OFFSET). And it defines CONFIG_SYS_GBL_DATA_OFFSET in the same manner that other architectures define CONFIG_SYS_INIT_SP_OFFSET. Other architectures define CONFIG_SYS_INIT_SP_ADDR as (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) typically. Rename things within PowerPC for consistency with other architectures. Signed-off-by: Tom Rini <trini@konsulko.com>
* m68k: Stop using CONFIG_SYS_GBL_DATA_OFFSETTom Rini2022-06-0615-30/+15
| | | | | | | | This value is only referenced by PowerPC code in a way other than directly as CONFIG_SYS_INIT_SP_ADDR. Switch to CONFIG_SYS_INIT_SP_ADDR directly. Signed-off-by: Tom Rini <trini@konsulko.com>
* arm: Stop using CONFIG_SYS_GBL_DATA_OFFSETTom Rini2022-06-062-4/+2
| | | | | | | | This value is only referenced by PowerPC code in a way other than directly as CONFIG_SYS_INIT_SP_ADDR. Switch to CONFIG_SYS_INIT_SP_ADDR directly. Signed-off-by: Tom Rini <trini@konsulko.com>
* arm: Use CONFIG_SPL_STACK or CONFIG_SYS_INIT_SP_ADDR directly.Tom Rini2022-06-0615-66/+14
| | | | | | | | | | In some cases, we define CONFIG_SYS_INIT_SP_ADDR differently for SPL or full U-Boot. This case should be making use of CONFIG_SPL_STACK, as that's what that variable is for. In a few other cases we define CONFIG_SPL_STACK directly to CONFIG_SYS_INIT_SP_ADDR, but do not need to as the code handles this correctly, normally. Signed-off-by: Tom Rini <trini@konsulko.com>
* mvebu: Use CONFIG_SPL_STACK + 4 directly for bootparam locationTom Rini2022-06-0612-12/+0
| | | | | | | | | | The definition of CONFIG_SPL_BOOTROM_SAVE is always a fixed CONFIG_SPL_STACK + 4, while CONFIG_SPL_STACK is not constant. This change will make it clear where the location is still, once CONFIG_SPL_STACK moves to Kconfig. Cc: Stefan Roese <sr@denx.de> Signed-off-by: Tom Rini <trini@konsulko.com>
* arm: pxa: Remove CONFIG_CPU_PXA25XTom Rini2022-06-062-17/+1
| | | | | | There are no platforms that set this, remove the code. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_COMMON_INIT_DDR to KconfigTom Rini2022-06-067-20/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SPL_COMMON_INIT_DDR Signed-off-by: Tom Rini <trini@konsulko.com>
* ppc / layerscape: Clean up CONFIG_SYS_CCSR_DO_NOT_RELOCATE usageTom Rini2022-06-068-28/+2
| | | | | | | | | | A number of PowerPC platforms define this, for SPL. To move this to Kconfig, it needs to be CONFIG_SPL_SYS_CCSR_DO_NOT_RELOCATE, so use CONFIG_IS_ENABLED() to check for usage. A number of layerscape platforms bring this logic from PowerPC, but only need a small part of it, for the fman driver. Remove their unused portion at least. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_SYS_MALLOC_SIMPLE to KconfigTom Rini2022-06-0611-44/+0
| | | | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_SYS_MALLOC_SIMPLE The problem here is that a few platforms have been doing: #ifdef CONFIG_SPL_BUILD #define CONFIG_SYS_MALLOC_SIMPLE #endif instead of defining CONFIG_SPL_SYS_MALLOC_SIMPLE directly. Correct this and update the documentation in a few places to match usage. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_BSS_MAX_SIZE et al to KconfigTom Rini2022-06-06117-167/+1
| | | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_BSS_MAX_SIZE CONFIG_SPL_MAX_FOOTPRINT Note that the da850evm platforms were violating the "only use one" rule here, and so now hard-code their BSS limit. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_PAD_TO et al to KconfigTom Rini2022-06-06137-229/+0
| | | | | | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE CONFIG_TPL_PAD_TO CONFIG_TPL_MAX_SIZE Note that we need to make TPL_MAX_SIZE be hex, and so move and convert the existing places. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_FS_LOAD_PAYLOAD_NAME et al to KconfigTom Rini2022-06-0643-159/+0
| | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_FS_LOAD_ARGS_NAME CONFIG_SPL_FS_LOAD_KERNEL_NAME CONFIG_SPL_FS_LOAD_PAYLOAD_NAME Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_NAND_RAW_ONLY et al to KconfigTom Rini2022-06-067-14/+0
| | | | | | | | This converts the following to Kconfig: CONFIG_SPL_NAND_RAW_ONLY CONFIG_SPL_NAND_SOFTECC Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SPL_INIT_MINIMAL et al to KconfigTom Rini2022-06-067-24/+2
| | | | | | | | | This converts the following to Kconfig: CONFIG_SPL_INIT_MINIMAL CONFIG_SPL_FLUSH_IMAGE CONFIG_SPL_SKIP_RELOCATE Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_CFI_FLASH_STATUS_POLL to KconfigTom Rini2022-06-062-5/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_CFI_FLASH_STATUS_POLL Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_FLASH_CFI_WIDTH to KconfigTom Rini2022-06-0628-34/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_FLASH_CFI_WIDTH Signed-off-by: Tom Rini <trini@konsulko.com>
* spl: Remove CONFIG_SPL_SATA_BOOT_DEVICETom Rini2022-06-061-1/+0
| | | | | | | | This is only referenced in non-SPL_DM cases, of which there are currently none. Remove this option and slightly re-organize the code is there is now never an if/else at the start of spl_sata_load_image() Signed-off-by: Tom Rini <trini@konsulko.com>
* fsl-layerscape: Remove CONFIG_SPL_PBL_PADTom Rini2022-06-062-3/+0
| | | | | | This option is not referenced in code, remove it. Signed-off-by: Tom Rini <trini@konsulko.com>
* P1010RDB: Remove CONFIG_SPL_NAND_MINIMALTom Rini2022-06-061-1/+0
| | | | | | This symbol is not used anywhere, remove it. Signed-off-by: Tom Rini <trini@konsulko.com>
* spl: Remove CONFIG_SPL_BOARD_LOAD_IMAGETom Rini2022-06-062-4/+0
| | | | | | | This symbol has been unused in code for some time now, remove the final references. Signed-off-by: Tom Rini <trini@konsulko.com>
* arm: omap2plus: Move CONFIG_SYS_PTV out of CONFIG namespaceTom Rini2022-06-067-9/+0
| | | | | | | | | This is always defined to 2, and referenced in two places. Move the define to <asm/omap_common.h> and make sure the code that uses this includes that file. Make <asm/arch-omap*/clock.h> not include that file, as we don't need to be doing so. Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_BOOTPARAMS_LEN to KconfigTom Rini2022-06-0630-53/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_BOOTPARAMS_LEN Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_HUSH_INIT_VAR to KconfigTom Rini2022-06-062-3/+0
| | | | | | | This converts the following to Kconfig: CONFIG_HUSH_INIT_VAR Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_BARGSIZE to KconfigTom Rini2022-06-0679-164/+6
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_BARGSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_CBSIZE to KconfigTom Rini2022-06-06157-289/+4
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_CBSIZE Signed-off-by: Tom Rini <trini@konsulko.com>
* Convert CONFIG_SYS_PBSIZE to KconfigTom Rini2022-06-0657-111/+0
| | | | | | | This converts the following to Kconfig: CONFIG_SYS_PBSIZE Signed-off-by: Tom Rini <trini@konsulko.com>