mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-10-22 23:02:20 +02:00
devregs: update to latest version from upstream
Drop the patch stored in this layer, since the PR with the same patch has been merged upstream. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
This commit is contained in:
parent
54115b38b7
commit
2d5adaea31
|
@ -3,10 +3,8 @@ SECTION = "devel"
|
|||
LICENSE = "GPL-1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5003fa041d799dd5dd5f646b74e36924"
|
||||
|
||||
SRCREV = "6d2ad752ce92ad37ab144d9c3322f3dcd43398e5"
|
||||
SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=http \
|
||||
file://0001-devregs-add-support-for-imx8mn-soc.patch \
|
||||
"
|
||||
SRCREV = "d5f6223027f4d6ae71bd5d432f5611486e0e6074"
|
||||
SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=http"
|
||||
|
||||
PV = "1.0+${SRCPV}"
|
||||
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
From cca909511ead5023f4a9f71412d79411a384326d Mon Sep 17 00:00:00 2001
|
||||
From: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
||||
Date: Mon, 13 Jan 2020 17:32:19 +0000
|
||||
Subject: [PATCH] devregs: add support for imx8mn soc
|
||||
|
||||
i.MX8M Nano SoC is very close to i.MX8M Mini, therefore we would allow
|
||||
them to use the same register description file.
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/boundarydevices/devregs/pull/5]
|
||||
|
||||
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
||||
---
|
||||
src/devregs.cpp | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/devregs.cpp b/src/devregs.cpp
|
||||
index 67c52eb..d540894 100644
|
||||
--- a/src/devregs.cpp
|
||||
+++ b/src/devregs.cpp
|
||||
@@ -717,6 +717,10 @@ static int getcpu(unsigned &cpu, const char *path) {
|
||||
cpu = 0x82;
|
||||
break;
|
||||
}
|
||||
+ if (strstr(inBuf, "i.MX8MN")) {
|
||||
+ cpu = 0x82;
|
||||
+ break;
|
||||
+ }
|
||||
if (!get_rev(inBuf, "Revision", &cpu))
|
||||
if (cpu != 0x10)
|
||||
break;
|
||||
--
|
||||
2.17.1
|
||||
|
Loading…
Reference in New Issue
Block a user