From ff5e85cb6f2a1338b48e4b00de1ead9b4e0d3f37 Mon Sep 17 00:00:00 2001 From: Cezary Sobczak Date: Wed, 30 Mar 2022 09:59:47 +0200 Subject: [PATCH] opensbi: update mainline with patches to fit Nezha board Signed-off-by: Cezary Sobczak --- recipes-bsp/opensbi/opensbi_%.bbappend | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 recipes-bsp/opensbi/opensbi_%.bbappend diff --git a/recipes-bsp/opensbi/opensbi_%.bbappend b/recipes-bsp/opensbi/opensbi_%.bbappend new file mode 100644 index 0000000..b700fac --- /dev/null +++ b/recipes-bsp/opensbi/opensbi_%.bbappend @@ -0,0 +1,10 @@ +# Mainline OpenSBI supports the C906 out of the box, but it needs a few tweaks +# and a new reset driver for the sunxi watchdog. +FILESEXTRAPATHS:prepend:nezha := "${THISDIR}/files:" + +SRC_URI:append:nezha = " \ + file://0001-lib-utils-fdt-Require-match-data-to-be-const.patch \ + file://0002-lib-utils-timer-Add-a-separate-compatible-for-the-D1.patch \ +" + +INSANE_SKIP:${PN}:nezha += "ldflags"