summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/rvphone
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-07 01:44:07 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-07 01:44:07 +0200
commitb1af9cbbfa30a0a242835a943d8897ee494685ed (patch)
treee5de260f190782a558542e0c26be4276133561c2 /recipes-bsp/u-boot/rvphone
parent0102ab2bf16e1f8e8d2b46295d7acdc7f98eeaa7 (diff)
fixed u-boot
Diffstat (limited to 'recipes-bsp/u-boot/rvphone')
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8.inc1
-rw-r--r--recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch19
2 files changed, 16 insertions, 4 deletions
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8.inc b/recipes-bsp/u-boot/rvphone/cl-imx8.inc
index 629dc99..4d922bb 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8.inc
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8.inc
@@ -1,6 +1,5 @@
SRC_URI_append_cl-imx8 = " \
file://0000-board-support.patch \
- file://0001-board-dts.patch \
file://dts/ \
file://board/ \
file://configs/ \
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch b/recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch
index 6be287c..16e5b8a 100644
--- a/recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch
+++ b/recipes-bsp/u-boot/rvphone/cl-imx8/0000-board-support.patch
@@ -1,3 +1,16 @@
+diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
+index c841df051d..5375779bdd 100644
+--- a/arch/arm/dts/Makefile
++++ b/arch/arm/dts/Makefile
+@@ -479,6 +479,8 @@ dtb-$(CONFIG_ARCH_IMX8) += fsl-imx8dx-17x17-val.dtb \
+ fsl-imx8qxp-lpddr4-arm2.dtb \
+ fsl-imx8qxp-mek.dtb
+
++dtb-$(CONFIG_TARGET_RVPHONE_CL_IMX8) += cl-imx8.dtb
++
+ dtb-$(CONFIG_RCAR_GEN3) += \
+ r8a7795-h3ulcb.dtb \
+ r8a7795-salvator-x.dtb \
diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig
index 09779cda64..cb2fa337fc 100644
--- a/arch/arm/mach-imx/imx8m/Kconfig
@@ -5,19 +18,19 @@ index 09779cda64..cb2fa337fc 100644
@@ -66,6 +66,11 @@ config TARGET_IMX8MM_DDR4_EVK
select SUPPORT_SPL
select IMX8M_DDR4
-
+
+config TARGET_RVPHONE_CL_IMX8
+ bool "rvPhone cl-imx8 board"
+ select IMX8MQ
+ select SUPPORT_SPL
+
endchoice
-
+
config SYS_SOC
@@ -77,5 +82,6 @@ source "board/freescale/imx8mq_phanbell/Kconfig"
source "board/freescale/imx8mq_aiy/Kconfig"
source "board/freescale/imx8mm_evk/Kconfig"
source "board/freescale/imx8mm_val/Kconfig"
+source "board/rvphone/cl-imx8/Kconfig"
-
+
endif