u-boot/arch/arm/mach-mvebu
Tony Dinh 21f622779f arm: mvebu: Set common SPI flash default speed and mode
CONFIG_SF_DEFAULT_SPEED is used in SPL SPI to configure and probe the
flash device during DM SPI uclass probing process, if the
spi-max-frequency is not available in the DTB. Currently the max
frequency is not available, because of the probing mechanism in SPI
uclass has not been fully updated to DM.

The CONFIG_SF_DEFAULT_SPEED is set to 1Mhz if a board defconfig
does not specify it. This speed is too slow and result in a few
seconds delay while the u-boot image is loaded from flash. Based on a
survey of the device tree specifications for MVEBU boards, a sane default
value should be 10Mhz. The default of 10Mhz enables an almost
instantaneously loading of the u-boot image.

Note that this patch depends on this patch series (has been merged to
u-boot-marvell/next):
https://lists.denx.de/pipermail/u-boot/2023-March/511038.html

- RESEND: correct spelling of SF_DEFAULT_MODE

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2023-03-24 08:43:42 +01:00
..
alleycat5 mvebe: Drop ARCH_MISC_INIT from alleycat 5 2023-03-02 15:32:25 -05:00
armada8k global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
armada3700 treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
include/mach arm: mvebu: Define SPL memory maps 2023-03-01 06:39:18 +01:00
serdes arm: mvebu: Remove A39x relicts 2023-03-01 06:39:18 +01:00
.gitignore mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
arm64-common.c Correct SPL uses of ARMADA_8K 2023-02-09 16:32:25 -05:00
cpu.c mvebu: Drop empty arch_misc_init 2023-03-02 15:32:25 -05:00
dram.c arm: mvebu: Avoid reading MVEBU_REG_PCIE_DEVID register too many times 2022-07-21 10:14:04 +02:00
efuse.c arm: mvebu: Add support for specifying VHV_Enable GPIO 2022-10-06 10:15:35 +02:00
gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig arm: mvebu: Set common SPI flash default speed and mode 2023-03-24 08:43:42 +01:00
kwbimage.cfg.in arm: mvebu: Add support for generating NAND kwbimage 2023-03-01 06:39:17 +01:00
lowlevel.S global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
lowlevel_spl.S mvebu: Use CONFIG_SPL_STACK + 4 directly for bootparam location 2022-06-06 12:09:12 -04:00
Makefile arm: mvebu: Add support for generating PEX kwbimage 2023-03-01 06:39:17 +01:00
mbus.c arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
spl.c arm: mvebu: Define env_sf_get_env_addr() also for Proper U-Boot 2023-03-01 06:39:18 +01:00
system-controller.c arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00