arm64: zynqmp: Define routines for mmio write and read
[oweals/u-boot.git] / arch / arm / cpu / armv8 / zynqmp / Kconfig
index a3baae4f740ca15e37906ce86b8b8ff900632953..5ac48ebc4d1aa904b4af16a00844106fa1ab6293 100644 (file)
@@ -13,7 +13,7 @@ config SPL_LIBGENERIC_SUPPORT
        default y
 
 config SPL_MMC_SUPPORT
-       default y
+       default y if MMC_SDHCI_ZYNQ
 
 config SPL_SERIAL_SUPPORT
        default y
@@ -28,6 +28,7 @@ config SYS_BOARD
        default "zynqmp"
 
 config SYS_VENDOR
+       string "Vendor name"
        default "xilinx"
 
 config SYS_SOC
@@ -43,6 +44,7 @@ config SYS_CONFIG_NAME
 
 config BOOT_INIT_FILE
        string "boot.bin init register filename"
+       depends on SPL
        default ""
        help
          Add register writes to boot.bin format (max 256 pairs).
@@ -71,10 +73,12 @@ config SPL_ZYNQMP_ALT_BOOTMODE
        default 0x5 if SD_MODE1
        default 0x6 if EMMC_MODE
        default 0x7 if USB_MODE
+       default 0xa if SW_USBHOST_MODE
+       default 0xb if SW_SATA_MODE
 
 choice
        prompt "Boot mode"
-       depends on ZYNQMP_ALT_BOOTMODE_ENABLED
+       depends on SPL_ZYNQMP_ALT_BOOTMODE_ENABLED
        default JTAG
 
 config JTAG_MODE
@@ -101,6 +105,12 @@ config EMMC_MODE
 config USB_MODE
        bool "USB"
 
+config SW_USBHOST_MODE
+       bool "SW USBHOST_MODE"
+
+config SW_SATA_MODE
+       bool "SW SATA_MODE"
+
 endchoice
 
 endif