File tree Expand file tree Collapse file tree 1 file changed +3
-37
lines changed
patch/u-boot/v2026.01/board_helios64/include_configs Expand file tree Collapse file tree 1 file changed +3
-37
lines changed Original file line number Diff line number Diff line change 66#ifndef __HELIOS64_H
77#define __HELIOS64_H
88
9- #include <configs/rk3399_common.h>
10-
11- #define SDRAM_BANK_SIZE (2UL << 30)
12-
13- #if defined(CONFIG_ENV_IS_IN_MMC )
14- #define CONFIG_SYS_MMC_ENV_DEV 0
15- #elif defined(CONFIG_ENV_IS_IN_SPI_FLASH )
16- #define CONFIG_ENV_SPI_BUS CONFIG_SF_DEFAULT_BUS
17- #define CONFIG_ENV_SPI_CS CONFIG_SF_DEFAULT_CS
18- #define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE
19- #define CONFIG_ENV_SPI_MAX_HZ CONFIG_SF_DEFAULT_SPEED
20- #endif
21-
22-
23- #ifndef CONFIG_SPL_BUILD
24- #if CONFIG_IS_ENABLED (SCSI )
9+ /* Override default boot targets before including common config. */
10+ #define BOOT_TARGETS "mmc1 mmc0 scsi0 usb0 pxe dhcp"
2511
26- #define CONFIG_SYS_SCSI_MAX_SCSI_ID 5
27- #define CONFIG_SYS_SCSI_MAX_LUN 1
28-
29- #define BOOT_TARGET_SCSI (func ) \
30- func(SCSI, scsi, 0)
31- #else
32- #define BOOT_TARGET_SCSI (func )
33- #endif
34-
35- /* Keep boot_targets short to fit early env_buf (32 bytes); bootstd still
36- * scans SD (mmc0) and eMMC (mmc1) automatically.
37- */
38- #undef BOOT_TARGET_DEVICES
39- #define BOOT_TARGET_DEVICES (func ) \
40- func(MMC, mmc, 1) \
41- func(SCSI, scsi, 0) \
42- func(USB, usb, 0) \
43- func(PXE, pxe, na) \
44- func(DHCP, dhcp, na)
45-
46- #endif /* !CONFIG_SPL_BUILD */
12+ #include <configs/rk3399_common.h>
4713
4814#endif /* __HELIOS64_H */
You can’t perform that action at this time.
0 commit comments