From ce92f3508c05bff4f06a27f01e8f737b706ff48e Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 7 Aug 2021 00:46:38 +0200 Subject: initial commit --- recipes-bsp/u-boot/rvphone/cl-imx8.inc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes-bsp/u-boot/rvphone/cl-imx8.inc (limited to 'recipes-bsp/u-boot/rvphone/cl-imx8.inc') diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8.inc b/recipes-bsp/u-boot/rvphone/cl-imx8.inc new file mode 100644 index 0000000..9989f37 --- /dev/null +++ b/recipes-bsp/u-boot/rvphone/cl-imx8.inc @@ -0,0 +1,20 @@ +SRC_URI_append_cl-imx8 = " \ + file://0000-add-board-support.patch \ + file://dts/ \ + file://board/ \ + file://configs/ \ + file://include/ \ +" + +do_patch_copy () { + mkdir -p ${S}/board/rvphone + cp -a ${WORKDIR}/dts/* ${S}/arch/arm/dts/ + cp -a ${WORKDIR}/board/rvphone/cl-imx8 ${S}/board/rvphone/ + cp -a ${WORKDIR}/configs/* ${S}/configs/ + cp -a ${WORKDIR}/include/configs/* ${S}/include/configs/ + if [ ! -z ${DDR_FIRMWARE_VERSION} ]; then + cp ${S}/board/compulab/cl-som-imx8/ddr/lpddr4_timing_2g_${DDR_FIRMWARE_VERSION}.c ${S}/board/compulab/cl-som-imx8/ddr/lpddr4_timing_2g.c + fi +} + +addtask patch_copy after do_patch before do_configure -- cgit v1.2.3