summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2016-05-09 08:42:59 (GMT)
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2016-05-10 13:57:44 (GMT)
commit71127e2e3cd63aaf511f79c35e4d7a164bd5bf37 (patch)
tree60ed1d6e57bf19bb94b96ef1981a8629b7381c88
parent72666ff06bbc424be754dd64e0a9866c48d7f031 (diff)
downloadmeta-phytec-71127e2e3cd63aaf511f79c35e4d7a164bd5bf37.zip
meta-phytec-71127e2e3cd63aaf511f79c35e4d7a164bd5bf37.tar.bz2
kernel: linux-mainline_4.4: Add rockchip dbg uart config fragments
Our rockchip machines are using different debug UARTs. Add config fragments which allow us to select the correct debugging UART for a specific machine. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
-rw-r--r--recipes-kernel/linux/linux-mainline/rk-dbg-uart0.cfg2
-rw-r--r--recipes-kernel/linux/linux-mainline/rk-dbg-uart2.cfg2
-rw-r--r--recipes-kernel/linux/linux-mainline_4.4.8-phy1.bb3
3 files changed, 6 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-mainline/rk-dbg-uart0.cfg b/recipes-kernel/linux/linux-mainline/rk-dbg-uart0.cfg
new file mode 100644
index 0000000..e7e0b4f
--- /dev/null
+++ b/recipes-kernel/linux/linux-mainline/rk-dbg-uart0.cfg
@@ -0,0 +1,2 @@
+CONFIG_DEBUG_RK32_UART0=y
+# CONFIG_DEBUG_RK32_UART2 is not set
diff --git a/recipes-kernel/linux/linux-mainline/rk-dbg-uart2.cfg b/recipes-kernel/linux/linux-mainline/rk-dbg-uart2.cfg
new file mode 100644
index 0000000..416a9f8
--- /dev/null
+++ b/recipes-kernel/linux/linux-mainline/rk-dbg-uart2.cfg
@@ -0,0 +1,2 @@
+CONFIG_DEBUG_RK32_UART2=y
+# CONFIG_DEBUG_RK32_UART0 is not set
diff --git a/recipes-kernel/linux/linux-mainline_4.4.8-phy1.bb b/recipes-kernel/linux/linux-mainline_4.4.8-phy1.bb
index 593d119..b473148 100644
--- a/recipes-kernel/linux/linux-mainline_4.4.8-phy1.bb
+++ b/recipes-kernel/linux/linux-mainline_4.4.8-phy1.bb
@@ -5,7 +5,6 @@ inherit phygittag
inherit buildinfo
include linux-common.inc
-
GIT_URL = "git://git.phytec.de/${PN}"
SRC_URI = "${GIT_URL};branch=${BRANCH};protocol=git"
@@ -18,4 +17,6 @@ SRCREV = "fa0c9fc9fe0b58b787ebbf2e765c103b7b0bf559"
S = "${WORKDIR}/git"
COMPATIBLE_MACHINE = "firefly-rk3288-1"
+SRC_URI_append_firefly-rk3288-1 = " file://rk-dbg-uart2.cfg"
COMPATIBLE_MACHINE .= "|phycore-rk3288-1"
+SRC_URI_append_phycore-rk3288-1 = " file://rk-dbg-uart0.cfg"