Skip to content

Commit ea92f95

Browse files
committed
Merge branch '2022-07-07-Kconfig-migrations-dead-code-removal' into next
- Migrate more CONFIG options to Kconfig and remove some unused code while we're at it.
2 parents cb9843b + c45568c commit ea92f95

File tree

768 files changed

+938
-7932
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

768 files changed

+938
-7932
lines changed

MAINTAINERS

-7
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,6 @@ S: Maintained
348348
T: git https://source.denx.de/u-boot/custodians/u-boot-marvell.git
349349
F: drivers/serial/serial_mvebu_a3700.c
350350

351-
ARM MARVELL PXA
352-
M: Marek Vasut <[email protected]>
353-
S: Maintained
354-
T: git https://source.denx.de/u-boot/custodians/u-boot-pxa.git
355-
F: arch/arm/cpu/pxa/
356-
F: arch/arm/include/asm/arch-pxa/
357-
358351
ARM MEDIATEK
359352
M: Ryder Lee <[email protected]>
360353
M: Weijie Gao <[email protected]>

README

-26
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,6 @@ The following options need to be configured:
371371
In this mode, a single differential clock is used to supply
372372
clocks to the sysclock, ddrclock and usbclock.
373373

374-
CONFIG_SYS_CPC_REINIT_F
375-
This CONFIG is defined when the CPC is configured as SRAM at the
376-
time of U-Boot entry and is required to be re-initialized.
377-
378374
- Generic CPU options:
379375
CONFIG_SYS_BIG_ENDIAN, CONFIG_SYS_LITTLE_ENDIAN
380376

@@ -850,13 +846,6 @@ The following options need to be configured:
850846
the appropriate value in Hz.
851847

852848
- MMC Support:
853-
The MMC controller on the Intel PXA is supported. To
854-
enable this define CONFIG_MMC. The MMC can be
855-
accessed from the boot prompt by mapping the device
856-
to physical memory similar to flash. Command line is
857-
enabled with CONFIG_CMD_MMC. The MMC driver also works with
858-
the FAT fs. This is enabled with CONFIG_CMD_FAT.
859-
860849
CONFIG_SH_MMCIF
861850
Support for Renesas on-chip MMCIF controller
862851

@@ -1747,12 +1736,6 @@ Configuration Settings:
17471736

17481737
Non-cached memory is only supported on 32-bit ARM at present.
17491738

1750-
- CONFIG_SYS_BOOTM_LEN:
1751-
Normally compressed uImages are limited to an
1752-
uncompressed size of 8 MBytes. If this is not enough,
1753-
you can define CONFIG_SYS_BOOTM_LEN in your board config file
1754-
to adjust this setting to your needs.
1755-
17561739
- CONFIG_SYS_BOOTMAPSZ:
17571740
Maximum size of memory mapped by the startup code of
17581741
the Linux kernel; all data that must be processed by
@@ -1765,11 +1748,6 @@ Configuration Settings:
17651748
CONFIG_SYS_BOOTMAPSZ. If CONFIG_SYS_BOOTMAPSZ is undefined,
17661749
then the value in "bootm_size" will be used instead.
17671750

1768-
- CONFIG_SYS_BOOT_RAMDISK_HIGH:
1769-
Enable initrd_high functionality. If defined then the
1770-
initrd_high feature is enabled and the bootm ramdisk subcommand
1771-
is enabled.
1772-
17731751
- CONFIG_SYS_BOOT_GET_CMDLINE:
17741752
Enables allocating and saving kernel cmdline in space between
17751753
"bootm_low" and "bootm_low" + BOOTMAPSZ.
@@ -2074,10 +2052,6 @@ Low Level (hardware related) configuration options:
20742052
- CONFIG_FSL_DDR_BIST
20752053
Enable built-in memory test for Freescale DDR controllers.
20762054

2077-
- CONFIG_SYS_83XX_DDR_USES_CS0
2078-
Only for 83xx systems. If specified, then DDR should
2079-
be configured using CS0 and CS1 instead of CS2 and CS3.
2080-
20812055
- CONFIG_RMII
20822056
Enable RMII mode for all FECs.
20832057
Note that this is a global option, we can't

arch/Kconfig.nxp

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ config CHAIN_OF_TRUST
1616
select SHA_HW_ACCEL
1717
select SHA_PROG_HW_ACCEL
1818
select ENV_IS_NOWHERE
19+
select SYS_CPC_REINIT_F if MPC85xx && !SYS_RAMBOOT
1920
select CMD_EXT4 if ARM
2021
select CMD_EXT4_WRITE if ARM
2122
imply CMD_BLOB

arch/arc/include/asm/config.h

-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@
66
#ifndef __ASM_ARC_CONFIG_H_
77
#define __ASM_ARC_CONFIG_H_
88

9-
#define CONFIG_SYS_BOOT_RAMDISK_HIGH
10-
119
#endif /*__ASM_ARC_CONFIG_H_ */

arch/arm/Kconfig

+1-14
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,6 @@ config CPU_V7R
330330
select SYS_ARM_MPU
331331
select SYS_CACHE_SHIFT_6
332332

333-
config CPU_PXA
334-
bool
335-
select SYS_CACHE_SHIFT_5
336-
imply SYS_ARM_MMU
337-
338-
config CPU_PXA27X
339-
bool
340-
select CPU_PXA
341-
342333
config CPU_SA1100
343334
bool
344335
select SYS_CACHE_SHIFT_5
@@ -354,7 +345,6 @@ config SYS_CPU
354345
default "armv7" if CPU_V7A
355346
default "armv7" if CPU_V7R
356347
default "armv7m" if CPU_V7M
357-
default "pxa" if CPU_PXA
358348
default "sa1100" if CPU_SA1100
359349
default "armv8" if ARM64
360350

@@ -369,14 +359,12 @@ config SYS_ARM_ARCH
369359
default 7 if CPU_V7A
370360
default 7 if CPU_V7M
371361
default 7 if CPU_V7R
372-
default 5 if CPU_PXA
373362
default 4 if CPU_SA1100
374363
default 8 if ARM64
375364

376365
choice
377366
prompt "Select the ARM data write cache policy"
378-
default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
379-
CPU_PXA || RZA1
367+
default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || RZA1
380368
default SYS_ARM_CACHE_WRITEBACK
381369

382370
config SYS_ARM_CACHE_WRITEBACK
@@ -1119,7 +1107,6 @@ config ARCH_SOCFPGA
11191107
select SPL_DM_SERIAL
11201108
select SPL_LIBCOMMON_SUPPORT
11211109
select SPL_LIBGENERIC_SUPPORT
1122-
select SPL_NAND_SUPPORT if SPL_NAND_DENALI
11231110
select SPL_OF_CONTROL
11241111
select SPL_SEPARATE_BSS if TARGET_SOCFPGA_SOC64
11251112
select SPL_SERIAL

arch/arm/Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ arch-$(CONFIG_CPU_ARM920T) =-march=armv4t
1111
arch-$(CONFIG_CPU_ARM926EJS) =-march=armv5te
1212
arch-$(CONFIG_CPU_ARM946ES) =-march=armv5te
1313
arch-$(CONFIG_CPU_SA1100) =-march=armv4
14-
arch-$(CONFIG_CPU_PXA) =
1514
arch-$(CONFIG_CPU_ARM1136) =-march=armv5t
1615
arch-$(CONFIG_CPU_ARM1176) =-march=armv5t
1716
arch-$(CONFIG_CPU_V7A) =$(call cc-option, -march=armv7-a, \
@@ -41,7 +40,6 @@ tune-$(CONFIG_CPU_ARM920T) =
4140
tune-$(CONFIG_CPU_ARM926EJS) =
4241
tune-$(CONFIG_CPU_ARM946ES) =
4342
tune-$(CONFIG_CPU_SA1100) =-mtune=strongarm1100
44-
tune-$(CONFIG_CPU_PXA) =-mcpu=xscale
4543
tune-$(CONFIG_CPU_ARM1136) =
4644
tune-$(CONFIG_CPU_ARM1176) =
4745
tune-$(CONFIG_CPU_V7A) =-mtune=generic-armv7-a

arch/arm/cpu/armv8/Kconfig

+2
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,15 @@ config ARMV8_SEC_FIRMWARE_SUPPORT
7676

7777
config SPL_ARMV8_SEC_FIRMWARE_SUPPORT
7878
bool "Enable ARMv8 secure monitor firmware framework support for SPL"
79+
depends on SPL
7980
select SPL_FIT
8081
select SPL_OF_LIBFDT
8182
help
8283
Say Y here to support this framework in SPL phase.
8384

8485
config SPL_RECOVER_DATA_SECTION
8586
bool "save/restore SPL data section"
87+
depends on SPL
8688
help
8789
Say Y here to save SPL data section for cold boot, and restore
8890
at warm boot in SPL phase.

arch/arm/cpu/pxa/Makefile

-14
This file was deleted.

arch/arm/cpu/pxa/cache.c

-58
This file was deleted.

arch/arm/cpu/pxa/config.mk

-18
This file was deleted.

0 commit comments

Comments
 (0)