mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
sunxi: Move most board options to the board Kconfig
This excludes options that are inherently ARM-specific or are specific to legacy non-DM drivers. Some help text is cleaned up along the way. Signed-off-by: Samuel Holland <samuel@sholland.org>
This commit is contained in:
parent
ac7381da70
commit
3196c03698
@ -559,16 +559,6 @@ config DRAM_ODT_CORRECTION
|
|||||||
then the correction is negative. Usually the value for this is 0.
|
then the correction is negative. Usually the value for this is 0.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
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
|
config OLD_SUNXI_KERNEL_COMPAT
|
||||||
bool "Enable workarounds for booting old kernels"
|
bool "Enable workarounds for booting old kernels"
|
||||||
---help---
|
---help---
|
||||||
@ -609,20 +599,6 @@ config MMC3_CD_PIN
|
|||||||
---help---
|
---help---
|
||||||
See MMC0_CD_PIN help text.
|
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 USB0_VBUS_PIN
|
config USB0_VBUS_PIN
|
||||||
string "Vbus enable pin for usb0 (otg)"
|
string "Vbus enable pin for usb0 (otg)"
|
||||||
default ""
|
default ""
|
||||||
@ -699,16 +675,6 @@ config AXP_GPIO
|
|||||||
---help---
|
---help---
|
||||||
Say Y here to enable support for the gpio pins of the axp PMIC ICs.
|
Say Y here to enable support for the gpio pins of the axp PMIC ICs.
|
||||||
|
|
||||||
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
|
config VIDEO_SUNXI
|
||||||
bool "Enable graphical uboot console on HDMI, LCD or VGA"
|
bool "Enable graphical uboot console on HDMI, LCD or VGA"
|
||||||
depends on !MACH_SUN8I_A83T
|
depends on !MACH_SUN8I_A83T
|
||||||
@ -937,41 +903,4 @@ config SPL_SPI_SUNXI
|
|||||||
sunxi SPI Flash. It uses the same method as the boot ROM, so does
|
sunxi SPI Flash. It uses the same method as the boot ROM, so does
|
||||||
not need any extra configuration.
|
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.
|
|
||||||
|
|
||||||
endif
|
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
|
|
||||||
|
@ -171,6 +171,78 @@ config SPL_IMAGE_TYPE
|
|||||||
default "sunxi_egon" if SPL_IMAGE_TYPE_SUNXI_EGON
|
default "sunxi_egon" if SPL_IMAGE_TYPE_SUNXI_EGON
|
||||||
default "sunxi_toc0" if SPL_IMAGE_TYPE_SUNXI_TOC0
|
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
|
endmenu
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user