From 1c812625789975f16cae2e0aa7e1dd97e22e16d1 Mon Sep 17 00:00:00 2001 From: Sandeep Gundlupet Raju Date: Tue, 22 Nov 2022 18:15:10 -0700 Subject: u-boot: Add u-boot configs for kc705 board Signed-off-by: Sandeep Gundlupet Raju Signed-off-by: Mark Hatle --- .../u-boot/files/kc705-microblazeel.cfg | 39 ++++++++++++++++++++++ .../recipes-bsp/u-boot/u-boot-xlnx_%.bbappend | 5 +++ 2 files changed, 44 insertions(+) create mode 100644 meta-xilinx-bsp/recipes-bsp/u-boot/files/kc705-microblazeel.cfg create mode 100644 meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/files/kc705-microblazeel.cfg b/meta-xilinx-bsp/recipes-bsp/u-boot/files/kc705-microblazeel.cfg new file mode 100644 index 00000000..8fb38950 --- /dev/null +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/files/kc705-microblazeel.cfg @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: MIT + +#........................................................................ +# WARNING +# +# This file is a u-boot configuration fragment, and not a full u-boot +# configuration file. The final u-boot configuration is made up of +# an assembly of processed fragments, each of which is designed to +# capture a specific part of the final configuration (e.g. platform +# configuration, feature configuration, and board specific hardware +# configuration). For more information on u-boot configuration, please +# refer the product documentation. +# +#....................................................................... + +# +# Definitions for KC705 evaluation board +# +CONFIG_SYS_FLASH_PROTECTION=y +CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y +CONFIG_SYS_FLASH_CFI=y +CONFIG_FLASH_CFI_DRIVER=y +CONFIG_CMD_FLASH=y +CONFIG_CMD_IMLS=y +CONFIG_MTD_NOR_FLASH=y +CONFIG_MTD_DEVICE=y +# CONFIG_CMD_SPI is not set +# CONFIG_CMD_SF is not set +# CONFIG_SPI_FLASH is not set +# CONFIG_SPI_FLASH_BAR is not set +# CONFIG_DM_SPI_FLASH is not set +# CONFIG_DM_SPI is not set +# CONFIG_SPI_FLASH_SPANSION is not set +# CONFIG_SPI_FLASH_STMICRO is not set +# CONFIG_SPI_FLASH_WINBOND is not set +# CONFIG_SPI_FLASH_MACRONIX is not set +# CONFIG_SPI is not set +# CONFIG_SPI_FLASH_ISSI is not set +# CONFIG_XILINX_SPI is not set \ No newline at end of file diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend new file mode 100644 index 00000000..23b1eb50 --- /dev/null +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +SRC_URI:append:kc705-microblazeel = " \ + file://kc705-microblazeel.cfg \ + " \ No newline at end of file -- cgit v1.2.3-54-g00ecf