mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
9a059a3af5
Enable UFS controller driver and matching UFS and SCSI commands. The former is used to initialize the device, the later is used to perform low level access to the SCSI interface of the UFS device. Enable R8A779F0 S4 Spider specific dependencies, the PCA953x driver and GPIO clock gate driver. This setup is used to toggle 38.4 MHz clock for the UFS controller. Enable support for 48bit LBA in block layer to address disks larger than 512*2^32 ~= 144 PiB. Enable use of 64bit LBA variables in the rest of U-Boot, instead of the default 32bit ones. Increase FAT cluster size to 128k as that is what is used by the filesystem that is populated on the UFS device. Use 'ufs init && scsi scan' to start the UFS device from U-Boot prompt. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
85 lines
2.1 KiB
Text
85 lines
2.1 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_CPU_INIT=y
|
|
CONFIG_ARCH_RMOBILE=y
|
|
CONFIG_SYS_MALLOC_LEN=0x4000000
|
|
CONFIG_ENV_SIZE=0x40000
|
|
CONFIG_ENV_OFFSET=0xD00000
|
|
CONFIG_ENV_SECT_SIZE=0x40000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="r8a779f0-spider-u-boot"
|
|
CONFIG_RCAR_GEN4=y
|
|
CONFIG_TARGET_SPIDER=y
|
|
CONFIG_SYS_MONITOR_LEN=1048576
|
|
CONFIG_SYS_CLK_FREQ=20000000
|
|
# CONFIG_PSCI_RESET is not set
|
|
CONFIG_SYS_LOAD_ADDR=0x58000000
|
|
CONFIG_SYS_BOOT_GET_CMDLINE=y
|
|
CONFIG_SYS_BARGSIZE=2048
|
|
CONFIG_REMAKE_ELF=y
|
|
CONFIG_FIT=y
|
|
CONFIG_SUPPORT_RAW_INITRD=y
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="root=/dev/nfs rw nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20"
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="tftp 0x48080000 Image && tftp 0x48000000 Image-r8a779f0-spider.dtb && booti 0x48080000 - 0x48000000"
|
|
CONFIG_DEFAULT_FDT_FILE="r8a779f0-spider.dtb"
|
|
CONFIG_SYS_MALLOC_BOOTPARAMS=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_MAXARGS=64
|
|
CONFIG_SYS_CBSIZE=2048
|
|
CONFIG_CMD_BOOTZ=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_PART=y
|
|
CONFIG_CMD_SPI=y
|
|
CONFIG_CMD_UFS=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_EXT2=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_CMD_FS_GENERIC=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_IS_IN_SPI_FLASH=y
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_REGMAP=y
|
|
CONFIG_SYSCON=y
|
|
CONFIG_LBA48=y
|
|
CONFIG_SYS_64BIT_LBA=y
|
|
CONFIG_CLK=y
|
|
CONFIG_CLK_GPIO=y
|
|
CONFIG_CLK_RENESAS=y
|
|
CONFIG_RCAR_GPIO=y
|
|
CONFIG_DM_PCA953X=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_RCAR_I2C=y
|
|
CONFIG_MMC_IO_VOLTAGE=y
|
|
CONFIG_MMC_UHS_SUPPORT=y
|
|
CONFIG_MMC_HS200_SUPPORT=y
|
|
CONFIG_RENESAS_SDHI=y
|
|
CONFIG_MTD=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_SPANSION=y
|
|
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
|
|
CONFIG_PHYLIB_10G=y
|
|
CONFIG_PHY_MARVELL_10G=y
|
|
CONFIG_DM_ETH_PHY=y
|
|
CONFIG_RENESAS_ETHER_SWITCH=y
|
|
CONFIG_PHY_R8A779F0_ETHERNET_SERDES=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_REGULATOR_GPIO=y
|
|
CONFIG_SCSI=y
|
|
CONFIG_DM_SCSI=y
|
|
CONFIG_BAUDRATE=1843200
|
|
CONFIG_SCIF_CONSOLE=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_RENESAS_RPC_SPI=y
|
|
CONFIG_UFS=y
|
|
CONFIG_UFS_RENESAS=y
|
|
CONFIG_FS_FAT_MAX_CLUSTSIZE=131072
|