Commit 4f7f3dfc authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

moved some parameters to defconfig to reduce the number of modified files

parent 12cb7b97
Loading
Loading
Loading
Loading
+0 −80
Original line number Original line Diff line number Diff line
if ARCH_ZYNQ

config TARGET_ELPHEL393
    bool "Elphel 10393 Zynq Board"
    default y

config SPL_LDSCRIPT
	default "arch/arm/mach-zynq/u-boot-spl.lds"

config SPL_FAT_SUPPORT
	default y

config SPL_LIBCOMMON_SUPPORT
	default y

config SPL_LIBDISK_SUPPORT
	default y

config SPL_LIBGENERIC_SUPPORT
	default y

config SPL_MMC_SUPPORT
	default y if MMC_SDHCI_ZYNQ

config SPL_SERIAL_SUPPORT
	default y

config SPL_SPI_FLASH_SUPPORT
	default y if ZYNQ_QSPI

config SPL_SPI_SUPPORT
	default y if ZYNQ_QSPI

config ZYNQ_DDRC_INIT
	bool "Zynq DDRC initialization"
	default y
	help
	  This option used to perform DDR specific initialization
	  if required. There might be cases like ddr less where we
	  want to skip ddr init and this option is useful for it.

config SYS_BOARD
	string "Board name"
	default "elphel393" if TARGET_ELPHEL393
	default "zynq"

config SYS_VENDOR
	string "Vendor name"
	default "elphel" if TARGET_ELPHEL393
	default "xilinx"

config SYS_SOC
	default "zynq"

config SYS_CONFIG_NAME
	string "Board configuration name"
	default "elphel393" if TARGET_ELPHEL393
	default "zynq-common"
	help
	  This option contains information about board configuration name.
	  Based on this option include/configs/<CONFIG_SYS_CONFIG_NAME>.h header
	  will be used for board configuration.

config SYS_MALLOC_F_LEN
	default 0x600

config SYS_MALLOC_LEN
	default 0x1400000

config BOOT_INIT_FILE
	string "boot.bin init register filename"
	default ""
	help
	  Add register writes to boot.bin format (max 256 pairs).
	  Expect a table of register-value pairs, e.g. "0x12345678 0x4321"

config ZYNQ_SDHCI_MAX_FREQ
	default 52000000

endif
+11 −0
Original line number Original line Diff line number Diff line
CONFIG_ARM=y
CONFIG_ARM=y
CONFIG_ARCH_ZYNQ=y
CONFIG_ARCH_ZYNQ=y

# don't need this
CONFIG_TARGET_ELPHEL393=y
CONFIG_TARGET_ELPHEL393=y
CONFIG_DEFAULT_DEVICE_TREE="elphel393"
CONFIG_DEFAULT_DEVICE_TREE="elphel393"

CONFIG_SYS_BOARD="elphel393"
CONFIG_SYS_VENDOR="elphel"
CONFIG_SYS_NAME="elphel393"

CONFIG_SPL=y
CONFIG_SPL=y
CONFIG_FIT=y
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_FIT_VERBOSE=y
@@ -48,3 +55,7 @@ CONFIG_SPL_BLK=y


CONFIG_SPL_DM=y
CONFIG_SPL_DM=y
CONFIG_BLK=y
CONFIG_BLK=y

#CONFIG_DEBUG_UART_BASE=0xe0001000
CONFIG_DEBUG_UART_BASE=0xe0000000