mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
Merge branch 'patch/d1-kconfig' into allwinner
# Conflicts: # arch/arm/mach-sunxi/Kconfig
This commit is contained in:
commit
31014d4e53
3
Kconfig
3
Kconfig
@ -508,9 +508,6 @@ config SYS_LOAD_ADDR
|
||||
hex "Address in memory to use by default"
|
||||
default 0x01000000 if ARCH_SOCFPGA
|
||||
default 0x02000000 if PPC || X86
|
||||
default 0x81000000 if MACH_SUNIV
|
||||
default 0x22000000 if MACH_SUN9I
|
||||
default 0x42000000 if ARCH_SUNXI
|
||||
default 0x82000000 if ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_K3
|
||||
default 0x82000000 if ARCH_MX6 && (MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL)
|
||||
default 0x12000000 if ARCH_MX6 && !(MX6SL || MX6SLL || MX6SX || MX6UL || MX6ULL)
|
||||
|
@ -458,6 +458,7 @@ source "arch/Kconfig.nxp"
|
||||
endif
|
||||
|
||||
source "board/keymile/Kconfig"
|
||||
source "board/sunxi/Kconfig"
|
||||
|
||||
if MIPS || MICROBLAZE
|
||||
|
||||
|
@ -1133,60 +1133,16 @@ config ARCH_SOCFPGA
|
||||
|
||||
config ARCH_SUNXI
|
||||
bool "Support sunxi (Allwinner) SoCs"
|
||||
select BINMAN
|
||||
select CMD_GPIO
|
||||
select CMD_MMC if MMC
|
||||
select CMD_USB if DISTRO_DEFAULTS && USB_HOST
|
||||
select CLK
|
||||
select DM
|
||||
select DM_ETH
|
||||
select DM_GPIO
|
||||
select DM_I2C if I2C
|
||||
select DM_SPI if SPI
|
||||
select DM_SPI_FLASH if SPI
|
||||
select DM_KEYBOARD
|
||||
select DM_MMC if MMC
|
||||
select DM_SCSI if SCSI
|
||||
select DM_SERIAL
|
||||
select BOARD_SUNXI
|
||||
select GPIO_EXTRA_HEADER
|
||||
select OF_BOARD_SETUP
|
||||
select OF_CONTROL
|
||||
select OF_SEPARATE
|
||||
select PINCTRL
|
||||
select SPECIFY_CONSOLE_INDEX
|
||||
select SPL_SEPARATE_BSS if SPL
|
||||
select SPECIFY_CONSOLE_INDEX if SERIAL
|
||||
select SPL_STACK_R if SPL
|
||||
select SPL_SYS_MALLOC_SIMPLE if SPL
|
||||
select SPL_SYS_THUMB_BUILD if !ARM64
|
||||
select SUNXI_GPIO
|
||||
select SYS_NS16550
|
||||
select SYS_THUMB_BUILD if !ARM64
|
||||
select USB if DISTRO_DEFAULTS
|
||||
select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
|
||||
select USB_STORAGE if DISTRO_DEFAULTS && USB_HOST
|
||||
select SPL_USE_TINY_PRINTF
|
||||
select USE_PREBOOT
|
||||
select SYS_RELOC_GD_ENV_ADDR
|
||||
imply BOARD_LATE_INIT
|
||||
imply CMD_DM
|
||||
imply CMD_GPT
|
||||
imply CMD_UBI if MTD_RAW_NAND
|
||||
imply DISTRO_DEFAULTS
|
||||
imply FAT_WRITE
|
||||
imply FIT
|
||||
imply OF_LIBFDT_OVERLAY
|
||||
imply PRE_CONSOLE_BUFFER
|
||||
imply SPL_GPIO
|
||||
imply SPL_LIBCOMMON_SUPPORT
|
||||
imply SPL_LIBGENERIC_SUPPORT
|
||||
imply SPL_MMC if MMC
|
||||
imply SPL_POWER
|
||||
imply SPL_SERIAL
|
||||
imply SYSRESET
|
||||
imply SYSRESET_WATCHDOG
|
||||
imply SYSRESET_WATCHDOG_AUTO
|
||||
imply USB_GADGET
|
||||
imply WDT
|
||||
|
||||
config ARCH_U8500
|
||||
bool "ST-Ericsson U8500 Series"
|
||||
|
@ -1,8 +1,5 @@
|
||||
if ARCH_SUNXI
|
||||
|
||||
config IDENT_STRING
|
||||
default " Allwinner Technology"
|
||||
|
||||
config DRAM_SUN4I
|
||||
bool
|
||||
help
|
||||
@ -99,17 +96,6 @@ config AXP_PMIC_BUS
|
||||
Select this PMIC bus access helpers for Sunxi platform PRCM or other
|
||||
AXP family PMIC devices.
|
||||
|
||||
config SUNXI_SRAM_ADDRESS
|
||||
hex
|
||||
default 0x10000 if MACH_SUN9I || MACH_SUN50I || MACH_SUN50I_H5
|
||||
default 0x20000 if SUN50I_GEN_H6
|
||||
default 0x0
|
||||
---help---
|
||||
Older Allwinner SoCs have their mask boot ROM mapped just below 4GB,
|
||||
with the first SRAM region being located at address 0.
|
||||
Some newer SoCs map the boot ROM at address 0 instead and move the
|
||||
SRAM to a different address.
|
||||
|
||||
config SUNXI_A64_TIMER_ERRATUM
|
||||
bool
|
||||
|
||||
@ -133,7 +119,6 @@ config SUN50I_GEN_H6
|
||||
select FIT
|
||||
select SPL_LOAD_FIT
|
||||
select MMC_SUNXI_HAS_NEW_MODE
|
||||
select SUPPORT_SPL
|
||||
---help---
|
||||
Select this for sunxi SoCs which have H6 like peripherals, clocks
|
||||
and memory map.
|
||||
@ -167,7 +152,6 @@ config MACH_SUNXI_H3_H5
|
||||
select SUNXI_DRAM_DW
|
||||
select SUNXI_DRAM_DW_32BIT
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUPPORT_SPL
|
||||
|
||||
# TODO: try out A80's 8GiB DRAM space
|
||||
config SUNXI_DRAM_MAX_SIZE
|
||||
@ -184,7 +168,6 @@ config MACH_SUNIV
|
||||
bool "suniv (Allwinner F1C100s/F1C200s/F1C600/R6)"
|
||||
select CPU_ARM926EJS
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUPPORT_SPL
|
||||
select SKIP_LOWLEVEL_INIT_ONLY
|
||||
select SPL_SKIP_LOWLEVEL_INIT_ONLY
|
||||
|
||||
@ -194,7 +177,6 @@ config MACH_SUN4I
|
||||
select PHY_SUN4I_USB
|
||||
select DRAM_SUN4I
|
||||
select SUNXI_GEN_SUN4I
|
||||
select SUPPORT_SPL
|
||||
imply SPL_SYS_I2C_LEGACY
|
||||
imply SYS_I2C_LEGACY
|
||||
|
||||
@ -204,7 +186,6 @@ config MACH_SUN5I
|
||||
select DRAM_SUN4I
|
||||
select PHY_SUN4I_USB
|
||||
select SUNXI_GEN_SUN4I
|
||||
select SUPPORT_SPL
|
||||
imply SPL_SYS_I2C_LEGACY
|
||||
imply SYS_I2C_LEGACY
|
||||
|
||||
@ -220,7 +201,6 @@ config MACH_SUN6I
|
||||
select SPL_I2C
|
||||
select SUN6I_PRCM
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUPPORT_SPL
|
||||
select SYS_I2C_SUN6I_P2WI
|
||||
select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
|
||||
|
||||
@ -234,7 +214,6 @@ config MACH_SUN7I
|
||||
select DRAM_SUN4I
|
||||
select PHY_SUN4I_USB
|
||||
select SUNXI_GEN_SUN4I
|
||||
select SUPPORT_SPL
|
||||
select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
|
||||
imply SPL_SYS_I2C_LEGACY
|
||||
imply SYS_I2C_LEGACY
|
||||
@ -249,7 +228,6 @@ config MACH_SUN8I_A23
|
||||
select PHY_SUN4I_USB
|
||||
select SPL_I2C
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUPPORT_SPL
|
||||
select SYS_I2C_SUN8I_RSB
|
||||
select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
|
||||
|
||||
@ -263,7 +241,6 @@ config MACH_SUN8I_A33
|
||||
select PHY_SUN4I_USB
|
||||
select SPL_I2C
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUPPORT_SPL
|
||||
select SYS_I2C_SUN8I_RSB
|
||||
select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
|
||||
|
||||
@ -276,7 +253,6 @@ config MACH_SUN8I_A83T
|
||||
select SUNXI_GEN_SUN6I
|
||||
select MMC_SUNXI_HAS_NEW_MODE
|
||||
select MMC_SUNXI_HAS_MODE_SWITCH
|
||||
select SUPPORT_SPL
|
||||
select SYS_I2C_SUN8I_RSB
|
||||
|
||||
config MACH_SUN8I_H3
|
||||
@ -296,7 +272,6 @@ config MACH_SUN8I_R40
|
||||
select ARCH_SUPPORT_PSCI
|
||||
select SUNXI_GEN_SUN6I
|
||||
select MMC_SUNXI_HAS_NEW_MODE
|
||||
select SUPPORT_SPL
|
||||
select SUNXI_DRAM_DW
|
||||
select SUNXI_DRAM_DW_32BIT
|
||||
select PHY_SUN4I_USB
|
||||
@ -311,7 +286,6 @@ config MACH_SUN8I_V3S
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUNXI_DRAM_DW
|
||||
select SUNXI_DRAM_DW_16BIT
|
||||
select SUPPORT_SPL
|
||||
select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
|
||||
|
||||
config MACH_SUN9I
|
||||
@ -322,7 +296,6 @@ config MACH_SUN9I
|
||||
select SPL_I2C
|
||||
select SUN6I_PRCM
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUPPORT_SPL
|
||||
|
||||
config MACH_SUN50I
|
||||
bool "sun50i (Allwinner A64)"
|
||||
@ -332,7 +305,6 @@ config MACH_SUN50I
|
||||
select SUNXI_DE2
|
||||
select SUNXI_GEN_SUN6I
|
||||
select MMC_SUNXI_HAS_NEW_MODE
|
||||
select SUPPORT_SPL
|
||||
select SUNXI_DRAM_DW
|
||||
select SUNXI_DRAM_DW_32BIT
|
||||
select FIT
|
||||
@ -587,58 +559,6 @@ config DRAM_ODT_CORRECTION
|
||||
then the correction is negative. Usually the value for this is 0.
|
||||
endif
|
||||
|
||||
config SYS_CLK_FREQ
|
||||
default 408000000 if MACH_SUNIV
|
||||
default 1008000000 if MACH_SUN4I
|
||||
default 1008000000 if MACH_SUN5I
|
||||
default 1008000000 if MACH_SUN6I
|
||||
default 912000000 if MACH_SUN7I
|
||||
default 816000000 if MACH_SUN50I || MACH_SUN50I_H5
|
||||
default 1008000000 if MACH_SUN8I
|
||||
default 1008000000 if MACH_SUN9I
|
||||
default 888000000 if MACH_SUN50I_H6
|
||||
default 1008000000 if MACH_SUN50I_H616
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "suniv" if MACH_SUNIV
|
||||
default "sun4i" if MACH_SUN4I
|
||||
default "sun5i" if MACH_SUN5I
|
||||
default "sun6i" if MACH_SUN6I
|
||||
default "sun7i" if MACH_SUN7I
|
||||
default "sun8i" if MACH_SUN8I
|
||||
default "sun9i" if MACH_SUN9I
|
||||
default "sun50i" if MACH_SUN50I
|
||||
default "sun50i" if MACH_SUN50I_H6
|
||||
default "sun50i" if MACH_SUN50I_H616
|
||||
|
||||
config SYS_BOARD
|
||||
default "sunxi"
|
||||
|
||||
config SYS_SOC
|
||||
default "sunxi"
|
||||
|
||||
config SUNXI_MINIMUM_DRAM_MB
|
||||
int "minimum DRAM size"
|
||||
default 32 if MACH_SUNIV
|
||||
default 64 if MACH_SUN8I_V3S
|
||||
default 256
|
||||
---help---
|
||||
Minimum DRAM size expected on the board. Traditionally we assumed
|
||||
256 MB, so that U-Boot would load at 160MB. With co-packaged DRAM
|
||||
we have smaller sizes, though, so that U-Boot's own load address and
|
||||
the default payload addresses must be shifted down.
|
||||
This is expected to be fixed by the SoC selection.
|
||||
|
||||
config UART0_PORT_F
|
||||
bool "UART0 on MicroSD breakout board"
|
||||
---help---
|
||||
Repurpose the SD card slot for getting access to the UART0 serial
|
||||
console. Primarily useful only for low level u-boot debugging on
|
||||
tablets, where normal UART0 is difficult to access and requires
|
||||
device disassembly and/or soldering. As the SD card can't be used
|
||||
at the same time, the system can be only booted in the FEL mode.
|
||||
Only enable this if you really know what you are doing.
|
||||
|
||||
config OLD_SUNXI_KERNEL_COMPAT
|
||||
bool "Enable workarounds for booting old kernels"
|
||||
---help---
|
||||
@ -679,20 +599,6 @@ config MMC3_CD_PIN
|
||||
---help---
|
||||
See MMC0_CD_PIN help text.
|
||||
|
||||
config MMC1_PINS_PH
|
||||
bool "Pins for mmc1 are on Port H"
|
||||
depends on MACH_SUN4I || MACH_SUN7I || MACH_SUN8I_R40
|
||||
---help---
|
||||
Select this option for boards where mmc1 uses the Port H pinmux.
|
||||
|
||||
config MMC_SUNXI_SLOT_EXTRA
|
||||
int "mmc extra slot number"
|
||||
default -1
|
||||
---help---
|
||||
sunxi builds always enable mmc0, some boards also have a second sdcard
|
||||
slot or emmc on mmc1 - mmc3. Setting this to 1, 2 or 3 will enable
|
||||
support for this.
|
||||
|
||||
config I2C0_ENABLE
|
||||
bool "Enable I2C/TWI controller 0"
|
||||
default y if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUN8I_R40
|
||||
@ -720,16 +626,6 @@ config R_I2C_ENABLE
|
||||
Set this to y to enable the I2C controller which is part of the PRCM.
|
||||
endif
|
||||
|
||||
config AXP_DISABLE_BOOT_ON_POWERON
|
||||
bool "Disable device boot on power plug-in"
|
||||
depends on AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
|
||||
default n
|
||||
---help---
|
||||
Say Y here to prevent the device from booting up because of a plug-in
|
||||
event. When set, the device will boot into the SPL briefly to
|
||||
determine why it was powered on, and if it was determined because of
|
||||
a plug-in event instead of a button press event it will shut back off.
|
||||
|
||||
config VIDEO_SUNXI
|
||||
bool "Enable graphical uboot console on HDMI, LCD or VGA"
|
||||
depends on !MACH_SUN8I_A83T
|
||||
@ -950,17 +846,6 @@ config GMAC_TX_DELAY
|
||||
---help---
|
||||
Set the GMAC Transmit Clock Delay Chain value.
|
||||
|
||||
config SPL_STACK_R_ADDR
|
||||
default 0x81e00000 if MACH_SUNIV
|
||||
default 0x4fe00000 if MACH_SUN4I
|
||||
default 0x4fe00000 if MACH_SUN5I
|
||||
default 0x4fe00000 if MACH_SUN6I
|
||||
default 0x4fe00000 if MACH_SUN7I
|
||||
default 0x4fe00000 if MACH_SUN8I
|
||||
default 0x2fe00000 if MACH_SUN9I
|
||||
default 0x4fe00000 if MACH_SUN50I
|
||||
default 0x4fe00000 if SUN50I_GEN_H6
|
||||
|
||||
config SPL_SPI_SUNXI
|
||||
bool "Support for SPI Flash on Allwinner SoCs in SPL"
|
||||
depends on MACH_SUN4I || MACH_SUN5I || MACH_SUN7I || MACH_SUNXI_H3_H5 || MACH_SUN50I || MACH_SUN8I_R40 || SUN50I_GEN_H6 || MACH_SUNIV
|
||||
@ -969,43 +854,4 @@ config SPL_SPI_SUNXI
|
||||
sunxi SPI Flash. It uses the same method as the boot ROM, so does
|
||||
not need any extra configuration.
|
||||
|
||||
config PINE64_DT_SELECTION
|
||||
bool "Enable Pine64 device tree selection code"
|
||||
depends on MACH_SUN50I
|
||||
help
|
||||
The original Pine A64 and Pine A64+ are similar but different
|
||||
boards and can be differed by the DRAM size. Pine A64 has
|
||||
512MiB DRAM, and Pine A64+ has 1GiB or 2GiB. By selecting this
|
||||
option, the device tree selection code specific to Pine64 which
|
||||
utilizes the DRAM size will be enabled.
|
||||
|
||||
config PINEPHONE_DT_SELECTION
|
||||
bool "Enable PinePhone device tree selection code"
|
||||
depends on MACH_SUN50I
|
||||
help
|
||||
Enable this option to automatically select the device tree for the
|
||||
correct PinePhone hardware revision during boot.
|
||||
|
||||
config BLUETOOTH_DT_DEVICE_FIXUP
|
||||
string "Fixup the Bluetooth controller address"
|
||||
default ""
|
||||
help
|
||||
This option specifies the DT compatible name of the Bluetooth
|
||||
controller for which to set the "local-bd-address" property.
|
||||
Set this option if your device ships with the Bluetooth controller
|
||||
default address.
|
||||
The used address is "bdaddr" if set, and "ethaddr" with the LSB
|
||||
flipped elsewise.
|
||||
|
||||
source "board/sunxi/Kconfig"
|
||||
|
||||
endif
|
||||
|
||||
config CHIP_DIP_SCAN
|
||||
bool "Enable DIPs detection for CHIP board"
|
||||
select SUPPORT_EXTENSION_SCAN
|
||||
select W1
|
||||
select W1_GPIO
|
||||
select W1_EEPROM
|
||||
select W1_EEPROM_DS24XXX
|
||||
select CMD_EXTENSION
|
||||
|
@ -1,5 +1,153 @@
|
||||
config BOARD_SUNXI
|
||||
bool
|
||||
select BINMAN
|
||||
select CLK
|
||||
select CMD_GPIO if GPIO
|
||||
select CMD_MMC if MMC
|
||||
select CMD_USB if DISTRO_DEFAULTS && USB_HOST
|
||||
select DM
|
||||
select DM_ETH if NET
|
||||
select DM_GPIO if GPIO
|
||||
select DM_I2C if I2C
|
||||
select DM_SCSI if BLK && SCSI
|
||||
select DM_SERIAL if SERIAL
|
||||
select DM_SPI if SPI
|
||||
select DM_SPI_FLASH if SPI
|
||||
select OF_BOARD_SETUP
|
||||
select PINCTRL
|
||||
select SPL_SEPARATE_BSS if SPL
|
||||
select SUPPORT_SPL
|
||||
select SYS_RELOC_GD_ENV_ADDR
|
||||
select USB if DISTRO_DEFAULTS
|
||||
select USB_KEYBOARD if DISTRO_DEFAULTS && USB_HOST
|
||||
select USE_PREBOOT
|
||||
imply BOARD_LATE_INIT
|
||||
imply CMD_DM
|
||||
imply CMD_GPT
|
||||
imply CMD_UBI if MTD_RAW_NAND
|
||||
imply DISTRO_DEFAULTS
|
||||
imply FAT_WRITE
|
||||
imply FIT
|
||||
imply OF_LIBFDT_OVERLAY
|
||||
imply PRE_CONSOLE_BUFFER
|
||||
imply SPL
|
||||
imply SPL_GPIO
|
||||
imply SPL_LIBCOMMON_SUPPORT
|
||||
imply SPL_LIBGENERIC_SUPPORT
|
||||
imply SPL_MMC if MMC
|
||||
imply SPL_POWER
|
||||
imply SPL_SERIAL
|
||||
imply SUNXI_GPIO
|
||||
imply SYS_I2C_MVTWSI
|
||||
imply SYS_NS16550
|
||||
imply SYSRESET
|
||||
imply SYSRESET_WATCHDOG
|
||||
imply SYSRESET_WATCHDOG_AUTO
|
||||
imply USB_EHCI_GENERIC
|
||||
imply USB_EHCI_HCD
|
||||
imply USB_GADGET
|
||||
imply USB_OHCI_GENERIC
|
||||
imply USB_OHCI_HCD
|
||||
imply WDT
|
||||
|
||||
if BOARD_SUNXI
|
||||
|
||||
config IDENT_STRING
|
||||
default " Allwinner Technology"
|
||||
|
||||
config PRE_CON_BUF_ADDR
|
||||
default 0x81000000 if MACH_SUNIV
|
||||
default 0x2f000000 if MACH_SUN9I
|
||||
default 0x4f000000 if SUNXI_MINIMUM_DRAM_MB >= 256
|
||||
default 0x43000000 if SUNXI_MINIMUM_DRAM_MB >= 64
|
||||
|
||||
config SPL_BSS_START_ADDR
|
||||
default 0x81f80000 if MACH_SUNIV
|
||||
default 0x2ff80000 if MACH_SUN9I
|
||||
default 0x4ff80000 if SUNXI_MINIMUM_DRAM_MB >= 256
|
||||
default 0x43f80000 if SUNXI_MINIMUM_DRAM_MB >= 64
|
||||
|
||||
config SPL_STACK_R_ADDR
|
||||
default 0x81e00000 if MACH_SUNIV
|
||||
default 0x2fe00000 if MACH_SUN9I
|
||||
default 0x4fe00000 if SUNXI_MINIMUM_DRAM_MB >= 256
|
||||
default 0x43e00000 if SUNXI_MINIMUM_DRAM_MB >= 64
|
||||
|
||||
config SPL_TEXT_BASE
|
||||
default 0x10060 if MACH_SUN9I || MACH_SUN50I || MACH_SUN50I_H5
|
||||
default 0x20060 if SUN50I_GEN_H6
|
||||
default 0x00060
|
||||
|
||||
config SUNXI_MINIMUM_DRAM_MB
|
||||
int
|
||||
default 32 if MACH_SUNIV
|
||||
default 64 if MACH_SUN8I_V3S
|
||||
default 256
|
||||
help
|
||||
Minimum DRAM size expected on the board. Traditionally we
|
||||
assumed 256 MB, so that U-Boot would load at 160MB. With
|
||||
co-packaged DRAM we have smaller sizes, though, so U-Boot's
|
||||
own load address and the default payload addresses must be
|
||||
shifted down. This is expected to be fixed by the SoC
|
||||
selection.
|
||||
|
||||
config SUNXI_SRAM_ADDRESS
|
||||
hex
|
||||
default 0x10000 if MACH_SUN9I || MACH_SUN50I || MACH_SUN50I_H5
|
||||
default 0x20000 if SUN50I_GEN_H6
|
||||
default 0x0
|
||||
help
|
||||
Older Allwinner SoCs have their boot mask ROM mapped just
|
||||
below 4GB, with the first SRAM region located at address 0.
|
||||
Newer SoCs map the boot ROM at address 0 instead and move the
|
||||
SRAM to a different address.
|
||||
|
||||
config SYS_BOARD
|
||||
default "sunxi"
|
||||
|
||||
config SYS_CLK_FREQ
|
||||
default 408000000 if MACH_SUNIV
|
||||
default 1008000000 if MACH_SUN4I
|
||||
default 1008000000 if MACH_SUN5I
|
||||
default 1008000000 if MACH_SUN6I
|
||||
default 912000000 if MACH_SUN7I
|
||||
default 1008000000 if MACH_SUN8I
|
||||
default 1008000000 if MACH_SUN9I
|
||||
default 816000000 if MACH_SUN50I || MACH_SUN50I_H5
|
||||
default 888000000 if MACH_SUN50I_H6
|
||||
default 1008000000 if MACH_SUN50I_H616
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "suniv" if MACH_SUNIV
|
||||
default "sun4i" if MACH_SUN4I
|
||||
default "sun5i" if MACH_SUN5I
|
||||
default "sun6i" if MACH_SUN6I
|
||||
default "sun7i" if MACH_SUN7I
|
||||
default "sun8i" if MACH_SUN8I
|
||||
default "sun9i" if MACH_SUN9I
|
||||
default "sun50i" if MACH_SUN50I
|
||||
default "sun50i" if MACH_SUN50I_H6
|
||||
default "sun50i" if MACH_SUN50I_H616
|
||||
|
||||
config SYS_LOAD_ADDR
|
||||
default 0x81000000 if MACH_SUNIV
|
||||
default 0x22000000 if MACH_SUN9I
|
||||
default 0x42000000
|
||||
|
||||
config SYS_SOC
|
||||
default "sunxi"
|
||||
|
||||
config TEXT_BASE
|
||||
default 0x81700000 if MACH_SUNIV
|
||||
default 0x2a000000 if MACH_SUN9I
|
||||
default 0x4a000000 if SUNXI_MINIMUM_DRAM_MB >= 256
|
||||
default 0x42e00000 if SUNXI_MINIMUM_DRAM_MB >= 64
|
||||
|
||||
menu "sunxi board options"
|
||||
|
||||
choice
|
||||
prompt "SPL Image Type"
|
||||
depends on SPL
|
||||
default SPL_IMAGE_TYPE_SUNXI_EGON
|
||||
|
||||
config SPL_IMAGE_TYPE_SUNXI_EGON
|
||||
@ -22,3 +170,79 @@ config SPL_IMAGE_TYPE
|
||||
string
|
||||
default "sunxi_egon" if SPL_IMAGE_TYPE_SUNXI_EGON
|
||||
default "sunxi_toc0" if SPL_IMAGE_TYPE_SUNXI_TOC0
|
||||
|
||||
config MMC_SUNXI_SLOT_EXTRA
|
||||
int "MMC extra slot number"
|
||||
default -1
|
||||
help
|
||||
sunxi builds always enable mmc0. Some boards also have a
|
||||
second SD card slot or eMMC on mmc1 - mmc3. Setting this to 1,
|
||||
2 or 3 will enable support for this.
|
||||
|
||||
config MMC1_PINS_PH
|
||||
bool "MMC1 pins are on Port H"
|
||||
depends on MACH_SUN4I || MACH_SUN7I || MACH_SUN8I_R40
|
||||
help
|
||||
Select this option on boards where mmc1 uses the Port H pinmux.
|
||||
|
||||
config UART0_PORT_F
|
||||
bool "UART0 pins are on Port F (MicroSD breakout board)"
|
||||
help
|
||||
Repurpose the SD card slot for getting access to the UART0
|
||||
serial console. Primarily useful only for low level u-boot
|
||||
debugging on tablets, where normal UART0 is difficult to
|
||||
access and requires device disassembly and/or soldering. As
|
||||
the SD card can't be used at the same time, the system can be
|
||||
only booted in FEL mode. Only enable this if you really know
|
||||
what you are doing.
|
||||
|
||||
config AXP_DISABLE_BOOT_ON_POWERON
|
||||
bool "Disable device boot on power plug-in"
|
||||
depends on AXP209_POWER || AXP221_POWER || AXP809_POWER || AXP818_POWER
|
||||
help
|
||||
Say Y here to prevent the device from booting up because of a
|
||||
plug-in event. When set, the device will boot into the SPL
|
||||
briefly to determine why it was powered on, and if the board
|
||||
was powered on because of a plug-in event instead of a button
|
||||
press event, it will shut back off.
|
||||
|
||||
config CHIP_DIP_SCAN
|
||||
bool "Enable DIPs detection for CHIP board"
|
||||
select SUPPORT_EXTENSION_SCAN
|
||||
select W1
|
||||
select W1_GPIO
|
||||
select W1_EEPROM
|
||||
select W1_EEPROM_DS24XXX
|
||||
select CMD_EXTENSION
|
||||
|
||||
config PINE64_DT_SELECTION
|
||||
bool "Enable Pine64 device tree selection code"
|
||||
depends on MACH_SUN50I
|
||||
help
|
||||
The original Pine A64 and Pine A64+ are similar but different
|
||||
boards and can be differed by the DRAM size. Pine A64 has
|
||||
512MiB DRAM, and Pine A64+ has 1GiB or 2GiB. By selecting this
|
||||
option, the device tree selection code specific to Pine64 which
|
||||
utilizes the DRAM size will be enabled.
|
||||
|
||||
config PINEPHONE_DT_SELECTION
|
||||
bool "Enable PinePhone device tree selection code"
|
||||
depends on MACH_SUN50I
|
||||
help
|
||||
Enable this option to automatically select the device tree for the
|
||||
correct PinePhone hardware revision during boot.
|
||||
|
||||
config BLUETOOTH_DT_DEVICE_FIXUP
|
||||
string "Fixup the Bluetooth controller address"
|
||||
default ""
|
||||
help
|
||||
This option specifies the DT compatible name of the Bluetooth
|
||||
controller for which to set the "local-bd-address" property.
|
||||
Set this option if your device ships with the Bluetooth controller
|
||||
default address.
|
||||
The used address is "bdaddr" if set, and "ethaddr" with the LSB
|
||||
flipped elsewise.
|
||||
|
||||
endmenu
|
||||
|
||||
endif
|
||||
|
@ -633,10 +633,6 @@ config TEXT_BASE
|
||||
depends on HAVE_TEXT_BASE
|
||||
default 0x0 if POSITION_INDEPENDENT
|
||||
default 0x80800000 if ARCH_OMAP2PLUS || ARCH_K3
|
||||
default 0x81700000 if MACH_SUNIV
|
||||
default 0x2a000000 if MACH_SUN9I
|
||||
default 0x4a000000 if SUNXI_MINIMUM_DRAM_MB >= 256
|
||||
default 0x42e00000 if SUNXI_MINIMUM_DRAM_MB >= 64
|
||||
hex "Text Base"
|
||||
help
|
||||
The address in memory that U-Boot will be running from, initially.
|
||||
|
@ -195,8 +195,6 @@ config PRE_CON_BUF_SZ
|
||||
config PRE_CON_BUF_ADDR
|
||||
hex "Address of the pre-console buffer"
|
||||
depends on PRE_CONSOLE_BUFFER
|
||||
default 0x2f000000 if ARCH_SUNXI && MACH_SUN9I
|
||||
default 0x4f000000 if ARCH_SUNXI && !MACH_SUN9I
|
||||
default 0x0f000000 if ROCKCHIP_RK3288
|
||||
default 0x0f200000 if ROCKCHIP_RK3399
|
||||
help
|
||||
|
@ -110,7 +110,7 @@ config SPL_PAD_TO
|
||||
config SPL_HAS_BSS_LINKER_SECTION
|
||||
depends on SPL_FRAMEWORK
|
||||
bool "Use a specific address for the BSS via the linker script"
|
||||
default y if ARCH_SUNXI || ARCH_MX6 || ARCH_OMAP2PLUS || MIPS || RISCV || ARCH_ZYNQMP
|
||||
default y if ARCH_MX6 || ARCH_OMAP2PLUS || ARCH_ZYNQMP || BOARD_SUNXI || MIPS || RISCV
|
||||
|
||||
config SPL_BSS_START_ADDR
|
||||
hex "Link address for the BSS within the SPL binary"
|
||||
@ -118,9 +118,6 @@ config SPL_BSS_START_ADDR
|
||||
default 0x88200000 if (ARCH_MX6 && (MX6SX || MX6SL || MX6UL || MX6ULL)) || ARCH_MX7
|
||||
default 0x18200000 if ARCH_MX6 && !(MX6SX || MX6SL || MX6UL || MX6ULL)
|
||||
default 0x80a00000 if ARCH_OMAP2PLUS
|
||||
default 0x81f80000 if ARCH_SUNXI && MACH_SUNIV
|
||||
default 0x4ff80000 if ARCH_SUNXI && !(MACH_SUN9I || MACH_SUNIV)
|
||||
default 0x2ff80000 if ARCH_SUNXI && MACH_SUN9I
|
||||
default 0x1000 if ARCH_ZYNQMP
|
||||
|
||||
choice
|
||||
@ -263,9 +260,6 @@ config SPL_TEXT_BASE
|
||||
default 0x402F4000 if AM43XX
|
||||
default 0x402F0400 if AM33XX
|
||||
default 0x40301350 if OMAP54XX
|
||||
default 0x10060 if MACH_SUN50I || MACH_SUN50I_H5 || MACH_SUN9I
|
||||
default 0x20060 if SUN50I_GEN_H6
|
||||
default 0x00060 if ARCH_SUNXI
|
||||
default 0xfffc0000 if ARCH_ZYNQMP
|
||||
default 0x0
|
||||
help
|
||||
@ -340,7 +334,7 @@ config SPL_SYS_MALLOC_SIMPLE
|
||||
config SPL_SHARES_INIT_SP_ADDR
|
||||
bool "SPL and U-Boot use the same initial stack pointer location"
|
||||
depends on (ARM || ARCH_JZ47XX || MICROBLAZE || RISCV) && SPL_FRAMEWORK
|
||||
default n if ARCH_SUNXI || ARCH_MX6 || ARCH_MX7
|
||||
default n if BOARD_SUNXI || ARCH_MX6 || ARCH_MX7
|
||||
default y
|
||||
help
|
||||
In many cases, we can use the same initial stack pointer address for
|
||||
@ -458,7 +452,7 @@ config SPL_DISPLAY_PRINT
|
||||
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
bool "MMC raw mode: by sector"
|
||||
default y if ARCH_SUNXI || ARCH_DAVINCI || ARCH_UNIPHIER || \
|
||||
default y if BOARD_SUNXI || ARCH_DAVINCI || ARCH_UNIPHIER || \
|
||||
ARCH_MX6 || ARCH_MX7 || \
|
||||
ARCH_ROCKCHIP || ARCH_MVEBU || ARCH_SOCFPGA || \
|
||||
ARCH_AT91 || ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || \
|
||||
@ -471,7 +465,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
|
||||
hex "Address on the MMC to load U-Boot from"
|
||||
depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
default 0x40 if ARCH_SUNXI
|
||||
default 0x40 if BOARD_SUNXI
|
||||
default 0x75 if ARCH_DAVINCI
|
||||
default 0x8a if ARCH_MX6 || ARCH_MX7
|
||||
default 0x100 if ARCH_UNIPHIER
|
||||
@ -488,7 +482,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
|
||||
config SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET
|
||||
hex "U-Boot main hardware partition image offset"
|
||||
depends on SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
default 0x10 if ARCH_SUNXI
|
||||
default 0x10 if BOARD_SUNXI
|
||||
default 0x0
|
||||
help
|
||||
On some platforms SPL location depends on hardware partition. The ROM
|
||||
@ -1314,7 +1308,7 @@ endif # SPL_SPI_FLASH_SUPPORT
|
||||
|
||||
config SYS_SPI_U_BOOT_OFFS
|
||||
hex "address of u-boot payload in SPI flash"
|
||||
default 0x8000 if ARCH_SUNXI
|
||||
default 0x8000 if BOARD_SUNXI
|
||||
default 0x0
|
||||
depends on SPL_SPI_LOAD || SPL_SPI_SUNXI
|
||||
help
|
||||
|
@ -61,7 +61,7 @@ config SPL_DOS_PARTITION
|
||||
bool "Enable MS Dos partition table for SPL"
|
||||
depends on SPL
|
||||
default n if ARCH_MVEBU
|
||||
default n if ARCH_SUNXI
|
||||
default n if BOARD_SUNXI
|
||||
default y if DOS_PARTITION
|
||||
select SPL_PARTITIONS
|
||||
|
||||
@ -104,7 +104,7 @@ config EFI_PARTITION
|
||||
config EFI_PARTITION_ENTRIES_NUMBERS
|
||||
int "Number of the EFI partition entries"
|
||||
depends on EFI_PARTITION
|
||||
default 56 if ARCH_SUNXI
|
||||
default 56 if BOARD_SUNXI
|
||||
default 128
|
||||
help
|
||||
Specify the number of partition entries in the GPT. This is
|
||||
@ -132,7 +132,7 @@ config SPL_EFI_PARTITION
|
||||
bool "Enable EFI GPT partition table for SPL"
|
||||
depends on SPL
|
||||
default n if ARCH_MVEBU
|
||||
default n if ARCH_SUNXI
|
||||
default n if BOARD_SUNXI
|
||||
default y if EFI_PARTITION
|
||||
select SPL_PARTITIONS
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
config CLK_SUNXI
|
||||
bool "Clock support for Allwinner SoCs"
|
||||
depends on CLK && ARCH_SUNXI
|
||||
depends on CLK && BOARD_SUNXI
|
||||
select DM_RESET
|
||||
select SPL_DM_RESET if SPL_CLK
|
||||
default y
|
||||
|
@ -8,7 +8,7 @@ config FASTBOOT
|
||||
config USB_FUNCTION_FASTBOOT
|
||||
bool "Enable USB fastboot gadget"
|
||||
depends on USB_GADGET
|
||||
default y if ARCH_SUNXI && USB_MUSB_GADGET
|
||||
default y if BOARD_SUNXI && USB_MUSB_GADGET
|
||||
select FASTBOOT
|
||||
select USB_GADGET_DOWNLOAD
|
||||
help
|
||||
@ -32,10 +32,9 @@ if FASTBOOT
|
||||
|
||||
config FASTBOOT_BUF_ADDR
|
||||
hex "Define FASTBOOT buffer address"
|
||||
default SYS_LOAD_ADDR if BOARD_SUNXI
|
||||
default 0x82000000 if MX6SX || MX6SL || MX6UL || MX6SLL
|
||||
default 0x81000000 if ARCH_OMAP2PLUS
|
||||
default 0x42000000 if ARCH_SUNXI && !MACH_SUN9I
|
||||
default 0x22000000 if ARCH_SUNXI && MACH_SUN9I
|
||||
default 0x60800800 if ROCKCHIP_RK3036 || ROCKCHIP_RK3188 || \
|
||||
ROCKCHIP_RK322X
|
||||
default 0x800800 if ROCKCHIP_RK3288 || ROCKCHIP_RK3329 || \
|
||||
@ -52,7 +51,7 @@ config FASTBOOT_BUF_SIZE
|
||||
hex "Define FASTBOOT buffer size"
|
||||
default 0x8000000 if ARCH_ROCKCHIP
|
||||
default 0x6000000 if ARCH_ZYNQMP
|
||||
default 0x2000000 if ARCH_SUNXI
|
||||
default 0x2000000 if BOARD_SUNXI
|
||||
default 0x8192 if SANDBOX
|
||||
default 0x7000000
|
||||
help
|
||||
@ -71,7 +70,7 @@ config FASTBOOT_USB_DEV
|
||||
|
||||
config FASTBOOT_FLASH
|
||||
bool "Enable FASTBOOT FLASH command"
|
||||
default y if ARCH_SUNXI || ARCH_ROCKCHIP
|
||||
default y if BOARD_SUNXI || ARCH_ROCKCHIP
|
||||
depends on MMC || (MTD_RAW_NAND && CMD_MTDPARTS)
|
||||
select IMAGE_SPARSE
|
||||
help
|
||||
@ -105,8 +104,8 @@ config FASTBOOT_FLASH_MMC_DEV
|
||||
int "Define FASTBOOT MMC FLASH default device"
|
||||
depends on FASTBOOT_FLASH_MMC
|
||||
default 0 if ARCH_ROCKCHIP
|
||||
default 0 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1
|
||||
default 1 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1
|
||||
default 0 if BOARD_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1
|
||||
default 1 if BOARD_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1
|
||||
help
|
||||
The fastboot "flash" command requires additional information
|
||||
regarding the non-volatile storage device. Define this to
|
||||
|
@ -370,7 +370,7 @@ config SANDBOX_GPIO_COUNT
|
||||
|
||||
config SUNXI_GPIO
|
||||
bool "Allwinner GPIO driver"
|
||||
depends on ARCH_SUNXI
|
||||
depends on BOARD_SUNXI
|
||||
select SPL_STRTO if SPL
|
||||
help
|
||||
Support the GPIO device in Allwinner SoCs.
|
||||
|
@ -749,7 +749,7 @@ config ZYNQ_HISPD_BROKEN
|
||||
|
||||
config MMC_SUNXI
|
||||
bool "Allwinner sunxi SD/MMC Host Controller support"
|
||||
depends on ARCH_SUNXI
|
||||
depends on BOARD_SUNXI
|
||||
default y
|
||||
help
|
||||
This selects support for the SD/MMC Host Controller on
|
||||
|
@ -19,14 +19,14 @@ if PHYLIB
|
||||
|
||||
config PHY_ADDR_ENABLE
|
||||
bool "Limit phy address"
|
||||
default y if ARCH_SUNXI
|
||||
default y if BOARD_SUNXI
|
||||
help
|
||||
Select this if you want to control which phy address is used
|
||||
|
||||
if PHY_ADDR_ENABLE
|
||||
config PHY_ADDR
|
||||
int "PHY address"
|
||||
default 1 if ARCH_SUNXI
|
||||
default 1 if BOARD_SUNXI
|
||||
default 0
|
||||
help
|
||||
The address of PHY on MII bus. Usually in range of 0 to 31.
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
config PHY_SUN4I_USB
|
||||
bool "Allwinner Sun4I USB PHY driver"
|
||||
depends on ARCH_SUNXI
|
||||
depends on BOARD_SUNXI
|
||||
select DM_REGULATOR
|
||||
select PHY
|
||||
help
|
||||
|
@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
if ARCH_SUNXI
|
||||
if BOARD_SUNXI
|
||||
|
||||
config PINCTRL_SUNXI
|
||||
select PINCTRL_FULL
|
||||
|
@ -137,7 +137,7 @@ config RESET_MTMIPS
|
||||
|
||||
config RESET_SUNXI
|
||||
bool "RESET support for Allwinner SoCs"
|
||||
depends on DM_RESET && ARCH_SUNXI
|
||||
depends on DM_RESET && BOARD_SUNXI
|
||||
default y
|
||||
help
|
||||
This enables support for common reset driver for
|
||||
|
@ -442,7 +442,7 @@ config SOFT_SPI
|
||||
|
||||
config SPI_SUNXI
|
||||
bool "Allwinner SoC SPI controllers"
|
||||
default ARCH_SUNXI
|
||||
default BOARD_SUNXI
|
||||
help
|
||||
Enable the Allwinner SoC SPi controller driver.
|
||||
|
||||
|
@ -116,7 +116,7 @@ config USB_KEYBOARD_FN_KEYS
|
||||
|
||||
choice
|
||||
prompt "USB keyboard polling"
|
||||
default SYS_USB_EVENT_POLL_VIA_INT_QUEUE if ARCH_SUNXI
|
||||
default SYS_USB_EVENT_POLL_VIA_INT_QUEUE if BOARD_SUNXI
|
||||
default SYS_USB_EVENT_POLL
|
||||
---help---
|
||||
Enable a polling mechanism for USB keyboard.
|
||||
|
@ -40,7 +40,7 @@ if USB_GADGET
|
||||
|
||||
config USB_GADGET_MANUFACTURER
|
||||
string "Vendor name of the USB device"
|
||||
default "Allwinner Technology" if ARCH_SUNXI
|
||||
default "Allwinner Technology" if BOARD_SUNXI
|
||||
default "Rockchip" if ARCH_ROCKCHIP
|
||||
default "U-Boot"
|
||||
help
|
||||
@ -49,7 +49,7 @@ config USB_GADGET_MANUFACTURER
|
||||
|
||||
config USB_GADGET_VENDOR_NUM
|
||||
hex "Vendor ID of the USB device"
|
||||
default 0x1f3a if ARCH_SUNXI
|
||||
default 0x1f3a if BOARD_SUNXI
|
||||
default 0x2207 if ARCH_ROCKCHIP
|
||||
default 0x0
|
||||
help
|
||||
@ -59,7 +59,7 @@ config USB_GADGET_VENDOR_NUM
|
||||
|
||||
config USB_GADGET_PRODUCT_NUM
|
||||
hex "Product ID of the USB device"
|
||||
default 0x1010 if ARCH_SUNXI
|
||||
default 0x1010 if BOARD_SUNXI
|
||||
default 0x310a if ROCKCHIP_RK3036
|
||||
default 0x300a if ROCKCHIP_RK3066
|
||||
default 0x310c if ROCKCHIP_RK3128
|
||||
@ -202,7 +202,7 @@ endif # USB_GADGET_DOWNLOAD
|
||||
config USB_ETHER
|
||||
bool "USB Ethernet Gadget"
|
||||
depends on NET
|
||||
default y if ARCH_SUNXI && USB_MUSB_GADGET
|
||||
default y if BOARD_SUNXI && USB_MUSB_GADGET
|
||||
help
|
||||
Creates an Ethernet network device through a USB peripheral
|
||||
controller. This will create a network interface on both the device
|
||||
|
@ -280,7 +280,6 @@ config USB_EHCI_ZYNQ
|
||||
config USB_EHCI_GENERIC
|
||||
bool "Support for generic EHCI USB controller"
|
||||
depends on DM_USB
|
||||
default ARCH_SUNXI
|
||||
---help---
|
||||
Enables support for generic EHCI controller.
|
||||
|
||||
@ -342,7 +341,6 @@ config USB_OHCI_PCI
|
||||
|
||||
config USB_OHCI_GENERIC
|
||||
bool "Support for generic OHCI USB controller"
|
||||
default ARCH_SUNXI
|
||||
---help---
|
||||
Enables support for generic OHCI controller.
|
||||
|
||||
|
@ -67,7 +67,7 @@ config USB_MUSB_PIC32
|
||||
|
||||
config USB_MUSB_SUNXI
|
||||
bool "Enable sunxi OTG / DRC USB controller"
|
||||
depends on ARCH_SUNXI
|
||||
depends on BOARD_SUNXI
|
||||
select USB_MUSB_PIO_ONLY
|
||||
default y
|
||||
---help---
|
||||
|
@ -183,7 +183,7 @@ config CONSOLE_TRUETYPE_MAX_METRICS
|
||||
|
||||
config SYS_WHITE_ON_BLACK
|
||||
bool "Display console as white on a black background"
|
||||
default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || ARCH_SUNXI
|
||||
default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || ARCH_TEGRA || X86 || BOARD_SUNXI
|
||||
help
|
||||
Normally the display is black on a white background, Enable this
|
||||
option to invert this, i.e. white on a black background. This can be
|
||||
|
@ -29,7 +29,7 @@ config WATCHDOG_TIMEOUT_MSECS
|
||||
default 128000 if ARCH_MX31 || ARCH_MX5 || ARCH_MX6
|
||||
default 128000 if ARCH_MX7 || ARCH_VF610
|
||||
default 30000 if ARCH_SOCFPGA
|
||||
default 16000 if ARCH_SUNXI
|
||||
default 16000 if BOARD_SUNXI
|
||||
default 60000
|
||||
help
|
||||
Watchdog timeout in msec
|
||||
@ -321,7 +321,7 @@ config WDT_STM32MP
|
||||
|
||||
config WDT_SUNXI
|
||||
bool "Allwinner sunxi watchdog timer support"
|
||||
depends on WDT && ARCH_SUNXI
|
||||
depends on WDT && BOARD_SUNXI
|
||||
default y
|
||||
help
|
||||
Enable support for the watchdog timer in Allwinner sunxi SoCs.
|
||||
|
12
env/Kconfig
vendored
12
env/Kconfig
vendored
@ -92,7 +92,7 @@ config ENV_IS_IN_FAT
|
||||
bool "Environment is in a FAT filesystem"
|
||||
depends on !CHAIN_OF_TRUST
|
||||
default y if ARCH_BCM283X
|
||||
default y if ARCH_SUNXI && MMC
|
||||
default y if BOARD_SUNXI && MMC
|
||||
default y if MMC_OMAP_HS && TI_COMMON_CMD_OPTIONS
|
||||
select FS_FAT
|
||||
select FAT_WRITE
|
||||
@ -338,7 +338,7 @@ config ENV_IS_IN_SPI_FLASH
|
||||
default y if NORTHBRIDGE_INTEL_IVYBRIDGE
|
||||
default y if INTEL_QUARK
|
||||
default y if INTEL_QUEENSBAY
|
||||
default y if ARCH_SUNXI
|
||||
default y if BOARD_SUNXI
|
||||
help
|
||||
Define this if you have a SPI Flash memory device which you
|
||||
want to use for the environment.
|
||||
@ -461,7 +461,7 @@ config ENV_FAT_DEVICE_AND_PART
|
||||
depends on ENV_IS_IN_FAT
|
||||
default "0:1" if TI_COMMON_CMD_OPTIONS
|
||||
default "0:auto" if ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL
|
||||
default ":auto" if ARCH_SUNXI
|
||||
default ":auto" if BOARD_SUNXI
|
||||
default "0" if ARCH_AT91
|
||||
help
|
||||
Define this to a string to specify the partition of the device. It can
|
||||
@ -555,7 +555,7 @@ config ENV_OFFSET
|
||||
ENV_IS_IN_SPI_FLASH
|
||||
default 0x3f8000 if ARCH_ROCKCHIP && ENV_IS_IN_MMC
|
||||
default 0x140000 if ARCH_ROCKCHIP && ENV_IS_IN_SPI_FLASH
|
||||
default 0xF0000 if ARCH_SUNXI
|
||||
default 0xF0000 if BOARD_SUNXI
|
||||
default 0xE0000 if ARCH_ZYNQ
|
||||
default 0x1E00000 if ARCH_ZYNQMP
|
||||
default 0x7F40000 if ARCH_VERSAL || ARCH_VERSAL_NET
|
||||
@ -580,7 +580,7 @@ config ENV_SIZE
|
||||
hex "Environment Size"
|
||||
default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP
|
||||
default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
|
||||
default 0x10000 if ARCH_SUNXI
|
||||
default 0x10000 if BOARD_SUNXI
|
||||
default 0x8000 if ARCH_ROCKCHIP && ENV_IS_IN_MMC
|
||||
default 0x2000 if ARCH_ROCKCHIP && ENV_IS_IN_SPI_FLASH
|
||||
default 0x8000 if ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET
|
||||
@ -596,7 +596,7 @@ config ENV_SECT_SIZE
|
||||
default 0x40000 if ARCH_ZYNQMP || ARCH_VERSAL || ARCH_VERSAL_NET
|
||||
default 0x20000 if ARCH_ZYNQ || ARCH_OMAP2PLUS || ARCH_AT91
|
||||
default 0x20000 if MICROBLAZE && ENV_IS_IN_SPI_FLASH
|
||||
default 0x10000 if ARCH_SUNXI && ENV_IS_IN_SPI_FLASH
|
||||
default 0x10000 if BOARD_SUNXI && ENV_IS_IN_SPI_FLASH
|
||||
help
|
||||
Size of the sector containing the environment.
|
||||
|
||||
|
@ -264,7 +264,7 @@ endif
|
||||
|
||||
INPUTS-$(CONFIG_TARGET_SOCFPGA_SOC64) += $(obj)/u-boot-spl-dtb.hex
|
||||
|
||||
ifdef CONFIG_ARCH_SUNXI
|
||||
ifdef CONFIG_BOARD_SUNXI
|
||||
INPUTS-y += $(obj)/sunxi-spl.bin
|
||||
|
||||
ifdef CONFIG_NAND_SUNXI
|
||||
|
Loading…
x
Reference in New Issue
Block a user