summaryrefslogtreecommitdiff
path: root/configs/xilinx_versal_virt_defconfig
Commit message (Collapse)AuthorAgeFilesLines
* configs: Resync with savedefconfigTom Rini2021-07-261-1/+0
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* xilinx: versal: Enable Xilinx AXI MRMACAshok Reddy Soma2021-07-261-0/+1
| | | | | | | | Enable Xilinx AXI MRMAC for Versal platforms. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* usb: dfu: Migrate CONFIG_SYS_DFU_DATA_BUF_SIZE and ↵Aswath Govindraju2021-06-081-0/+1
| | | | | | | | | | | | | | | | | | | CONFIG_SYS_DFU_MAX_FILE_SIZE to Kconfig Currently the config options CONFIG_SYS_DFU_DATA_BUF_SIZE and CONFIG_SYS_DFU_MAX_FILE_SIZE are being set in include/configs/<board>.h files and also in <board_name>_defconfig files without a Kconfig option. It is easier for users to set these configs in defconfig files than in config header files as they are a part of the source code. Add Kconfig symbols, and update the defconfigs by using tools/moveconfig.py script. Suggested-by: Pratyush Yadav <p.yadav@ti.com> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com> Acked-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Acked-by: Matthias Brugger <mbrugger@suse.com> Acked-by: Lukasz Majewski <lukma@denx.de>
* xilinx: versal: Enable CONFIG_POSITION_INDEPENDENTT Karthik Reddy2021-05-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | U-Boot expects to be linked to a specific hard-coded address and to be loaded to and run from that address. CONFIG_POSITION_INDEPENDENT config lifts that restriction & allowing the code to be loaded to and executed from almost any address. As we enabled CONFIG_POSITION_INDEPENDENT, CONFIG_INIT_SP_RELATIVE is enabled by default, where it will set the early stack pointer at runtime by adding an offset value to &_bss_start. The offset value is taken from SYS_INIT_SP_BSS_OFFSET. SYS_INIT_SP_BSS_OFFSET offset should be large enough so that the early malloc region, global data (gd), and early stack should fit. With commit d8fabcc424bd ("arm64: versal: Increase SYS_MALLOC_F_LEN") SYS_MALLOC_F_LEN is increased from 32KB to 1MB, so we need to accommodate this space with SYS_INIT_SP_BSS_OFFSET. Hence increasing SYS_INIT_SP_BSS_OFFSET to 1.5MB. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Acked-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable GUID partitions and EFI variable commandsMichal Simek2021-04-231-0/+2
| | | | | | | For work with EFI it is good to have GUID partitions enabled and also option to work with UEFI variables. That's why enable both. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable DFU_TIMEOUT configT Karthik Reddy2021-04-231-0/+1
| | | | | | | Enable CONFIG_DFU_TIMEOUT to set timeout waiting for dfu command. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable redundant variable handlingMichal Simek2021-04-231-0/+1
| | | | | | | | Enable this feature by default to be able to work with env import/export commands which are done in this slightly changed variable format (There is addtional flag fields in variable file which is changing CRC calculation). Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: versal: Add support for saving env based on bootmodeAshok Reddy Soma2021-04-231-0/+3
| | | | | | | | | | Enable saving variables to MMC(FAT) and SPI based on primary bootmode. If bootmode is JTAG, dont save env anywhere(NOWHERE). Enable ENV_FAT_DEVICE_AND_PART="0:auto" for Versal platforms as well. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable efi debug commandMichal Simek2021-03-301-0/+1
| | | | | | | Enable EFI debug command to be able to setup various efi variables to avoid software like grub. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* configs: Resync with savedefconfigTom Rini2020-11-301-2/+2
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* xilinx: Enable SPI driver for VersalMichal Simek2020-10-291-0/+1
| | | | | | Enable Zynq SPI driver for Versal. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable SF_TEST command for all ARM based platformsMichal Simek2020-10-271-0/+1
| | | | | | Enable this command by default. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable FRU command for all ARM based platformsMichal Simek2020-10-271-0/+1
| | | | | | Enable it by default for board detection. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* config: versal: Update mini u-boot timer clock to 100MhzAshok Reddy Soma2020-10-271-1/+1
| | | | | | | | | Mini u-boot timer clock is not updated when u-boot is migrated from emulator to silicon. Due to this slower clock of 2.72Mhz, delay() functions are not working accurately. Update CONFIG_COUNTER_FREQUENCY to 100Mhz. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: zynqmp: Enable EMMC bootMichal Simek2020-10-271-0/+1
| | | | | | Enable EMMC boot commands to be able to change EMMC setup. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Disable CONFIG_EFI_LOADER_BOUNCE_BUFFER for ZynqMP/VersalMichal Simek2020-09-231-1/+0
| | | | | | | | | | Both SOCs shouldn't have any problem with 64bit dma accesses. Also with PIE enabled when u-boot is placed above 4GB without any memory mapped below 4GB address space efi_memory_init() call is failing due to missing memory node. For this two reason disable this option for ZynqMP and Versal. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Generate position-independent pre-relocation codeMichal Simek2020-09-231-0/+1
| | | | | | | Enable position independent pre-relocation to let users options to put u-boot to different locations. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: versal: Enable AXI ethernet driverAshok Reddy Soma2020-09-231-1/+1
| | | | | | | Enable AXI ethernet driver for Versal platforms. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable uartlite driver for Versal/ZynqMPT Karthik Reddy2020-09-231-0/+1
| | | | | | | | Add CONFIG_XILINX_UARTLITE config to versal/zynqmp defconfig to enable uartlite driver support by default. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* configs: xilinx: Enable configs required for ubifsAshok Reddy Soma2020-09-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable required configs for using ubifs in uboot. UBIFS testing procedure from u-boot: Let's say we have two partitions in dt as below and want to format partition1 "images" with ubifs. partition@0 { label = "boot"; reg = <0x0 0x1000000>; }; partition@1 { label = "images"; reg = <0x1000000 0x7000000>; }; We will format the partition from linux and copy some files and access from uboot later. First thing, in linux config disable CONFIG_MTD_SPI_NOR_USE_4K_SECTORS. this is required as ubifs expects min LEB size as 15*1024 bytes. Use below commands in linux to format "images" partition with ubifs. ubiformat /dev/mtd1 ubiattach /dev/ubi_ctrl -m 1 ubimkvol /dev/ubi0 -N images -m mount -t ubifs ubi0:images /mnt We can copy files to /mnt and unmount it. To access this ubifs partition from uboot, run below commands. (Don't forget to probe device before, e.g. sf probe 0 0 0) setenv mtdids "nor0=nor0" setenv mtdparts "mtdparts=nor0:16m(boot),112m(images)" ubi part images ubifsmount ubi0:images make sure we match "mtdparts" to whatever is given in dt w.r.t partition sizes. "mtdparts" command will list the mtd partitions in u-boot. Once ubifs is mounted, we can use "ubifsls" to list the files in that partition and use "ubifsload <addr> <filename>" to load files from ubifs partition to DDR. Reading information about mtd layout from DT is not supported. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: versal: Enable i2c misc eeprom driverMichal Simek2020-08-201-0/+3
| | | | | | Enable this driver to be able to work with i2c based eeproms on Versal. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* xilinx: Enable preboot feature for ZynqMP and VersalMichal Simek2020-08-201-0/+1
| | | | | | Enable preboot functionality for ZynqMP and Versal platforms. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* configs: Resync with savedefconfigTom Rini2020-07-281-1/+0
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge tag 'xilinx-for-v2020.10' of ↵WIP/25Jun2020-nextTom Rini2020-06-251-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze into next Xilinx changes for v2020.10 Versal: - xspi bootmode fix - Removing one clock from clk driver - Align u-boot memory setting with OS by default - Map TCM and OCM by default ZynqMP: - Minor DT improvements - Reduce console buffer for mini configurations - Add fix for AMS - Add support for XDP platform Zynq: - Support for AES engine - Enable bigger memory test by default - Extend documentation for SD preparation - Use different freq for Topic miami board mmc: - minor GD pointer removal net: - Support fixed-link cases by zynq gem - Fix phy looking loop in axi enet driver spi: - Cleanup global macros for xilinx spi drivers firmware: - Add support for pmufw reloading fpga: - Improve error status reporting common: - Remove 4kB addition space for FDT allocation
| * arm64: versal: Enable config to map TCM and OCMAshok Reddy Soma2020-06-241-0/+1
| | | | | | | | | | | | | | Enable CONFIG_DEFINE_TCM_OCM_MMAP to map TCM and OCM memory. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
| * arm64: versal: Let U-Boot to update memory node by defaultMichal Simek2020-06-241-1/+0
| | | | | | | | | | | | | | | | There is no reason not to let U-Boot to update memory node by default. In past this was disabled by purpose to be able to test different memory configurations from one U-Boot instance. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* | net: phy: Add support for TI PHY initDan Murphy2020-06-121-1/+1
|/ | | | | | | | | | | | | | | | ti_phy_init function was allocated to the DP83867 PHY. This function name is to generic for a specific PHY. The function can be moved to a TI specific file that can register all TI PHYs that are defined in the defconfig. The ti_phy_init file will contain all TI PHYs initialization so that only phy_ti_init can be called from the framework. In addition to the above the config flag for the DP83867 needs to be changed in the Kconfig and dependent defconfig files. The config flag that was used for the DP83867 was also generic in nature so a more specific config flag for the DP83867 was created. Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Dan Murphy <dmurphy@ti.com>
* serial: Convert ARM_DCC to KconfigTom Rini2020-06-041-0/+1
| | | | | | | | | | | | The symbol "CONFIG_ARM_DCC" is used to control building drivers/serial/arm_dcc.c. Provide a simple Kconfig entry for this. Cc: Luca Ceresoli <luca@lucaceresoli.net> Cc: Michal Simek <monstr@monstr.eu> Cc: Tom McLeod <tom.mcleod@opalkelly.com> Cc: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
* treewide: mem: Move mtest related defines to KconfigWIP/2020-05-07-more-kconfig-migrationsAshok Reddy Soma2020-05-081-0/+2
| | | | | | | | | | | Move below defines which are used by mtest utility to Kconfig. CONFIG_SYS_MEMTEST_START CONFIG_SYS_MEMTEST_END Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> [trini: Fix kmcoge5ne board, re-run migration as well] Signed-off-by: Tom Rini <trini@konsulko.com>
* arm64: zynqmp: Enable netconsole for ZynqMPMichal Simek2020-04-061-0/+1
| | | | | | It is nice feature Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Enable support for Gigadevice/ISSI flashesT Karthik Reddy2020-04-061-0/+3
| | | | | | | Enable support for Gigadevice/ISSI flash parts for Versal platform. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* configs: versal: Add CONFIG_DISTRO_DEFAULTS to versal defconfigT Karthik Reddy2020-04-061-15/+1
| | | | | | | | | | Add DISTRO_DEFAULTS config to versal virt defconfig file which is suitable for booting general purpose Linux distributions. Remove other configs which are selected by default by DISTRO_DEFAULTS configuration. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* configs: Resync with savedefconfigTom Rini2020-01-221-1/+1
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* arm64: versal: Enable board_late_init callingMichal Simek2020-01-141-1/+0
| | | | | | | | | Qemu v4.2.0 maps bootmode registers to address space which was the reason why board_late_init() was disabled and accesses were failing. With new Qemu board_late_init() can be called without any issue. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* configs: Resync with savedefconfigWIP/04Dec2019Tom Rini2019-12-041-1/+1
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* mtd: ensure MTD is compiled when there is a SPI NOR flash using MTDMiquel Raynal2019-12-041-0/+1
| | | | | | | | MTD must be enabled when there is a SPI NOR flash using the SPI_FLASH_MTD config entry. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
* env: Add CONFIG_SYS_RELOC_GD_ENV_ADDR symbolTom Rini2019-11-201-0/+1
| | | | | | | | | | | Today in initr_reloc_global_data() we use some non-obvious tests to determine if we need to relocate the env_addr within gd or not. In order to facilitate migration of other symbols to Kconfig we need to introduce a new symbol for this particular use case. Cc: Wolfgang Denk <wd@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Tom Rini <trini@konsulko.com>
* configs: Resync with savedefconfigTom Rini2019-11-071-3/+0
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>
* arm64: versal: Enable UHS supportSiva Durga Prasad Paladugu2019-10-241-0/+4
| | | | | | | | This patch enables UHS support for Versal platforms. Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Enable bit stream loading support for versal platform.Siva Durga Prasad Paladugu2019-10-241-0/+2
| | | | | | | This patch enables bitstream loading support for Versal platform. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Update boot delay to perform autobootSiva Durga Prasad Paladugu2019-10-241-1/+1
| | | | | | | Update boot delay to 5 for performing autoboot. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Increase SYS_MALLOC_F_LENSiva Durga Prasad Paladugu2019-10-241-1/+1
| | | | | | | | | This patch increases SYS_MALLOC_F_LEN as the versal clock driver needs to be probed before relocation itself inorder to get required clocks before relocation. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Enable CLK commandSiva Durga Prasad Paladugu2019-10-241-0/+1
| | | | | | | Enables clock command for dumping clocks. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Enable USB driver supportMichal Simek2019-10-241-0/+21
| | | | | | | | | | This patch adds usb host and device mode support for Xilinx Versal virtual platform. By default USB host functionality is enabled. To use in usb device mode, set dr_mode property in DT to peripheral. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Enable LIBFDT_OVERLAYMichal Simek2019-10-241-0/+1
| | | | | | | Enable device tree overlay to build all dtbs for Versal with -@ flag to enable applying overlays. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Enable GPIO command for VersalMichal Simek2019-10-241-0/+1
| | | | | | | Enable GPIO command for Xilinx Versal platform. Driver is updated that's why it can be used directly. Driver is enabled by default through Kconfig. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: remove debug uart for versal virtIbai Erkiaga2019-10-081-5/+0
| | | | | | | Remove the debug uart configuration from versal virtual defconfig. Signed-off-by: Ibai Erkiaga <ibai.erkiaga-elorza@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Enable clock driverMichal Simek2019-10-081-0/+1
| | | | | | Enable clock driver for Versal. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* arm64: versal: Define board_late_init for versalSiva Durga Prasad Paladugu2019-10-081-0/+1
| | | | | | | | | | | | | | Define board_late_init which performs bootmode detection and prepares corresponding distro boot commaand sequence. Also disable it for mini platforms because simply there is no need to have it enabled. But also disable it for virtual platform because Qemu is not modelling this register space that's why travis testing would fail. This configuration should be reverted when mainline Qemu is updated. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
* configs: Resync with savedefconfigTom Rini2019-09-231-1/+0
| | | | | | Rsync all defconfig files using moveconfig.py Signed-off-by: Tom Rini <trini@konsulko.com>