mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Kurz <akurz@blala.de>
To: barebox@lists.infradead.org
Cc: Alexander Kurz <akurz@blala.de>
Subject: [PATCH 1/2] ARM: i.MX50: Amazon Kindle: Model EY21 compatibility check
Date: Sun, 14 May 2017 23:26:25 +0200	[thread overview]
Message-ID: <1494797186-3338-1-git-send-email-akurz@blala.de> (raw)

Extend the compatibility check for i.MX50 based kindles also on model EY21.

Signed-off-by: Alexander Kurz <akurz@blala.de>
---
 arch/arm/boards/kindle-mx50/board.c | 3 ++-
 arch/arm/dts/imx50-kindle-ey21.dts  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boards/kindle-mx50/board.c b/arch/arm/boards/kindle-mx50/board.c
index 7bd4f91..089dd8e 100644
--- a/arch/arm/boards/kindle-mx50/board.c
+++ b/arch/arm/boards/kindle-mx50/board.c
@@ -123,7 +123,8 @@ static void kindle_rev_init(void)
 static int is_mx50_kindle(void)
 {
 	return of_machine_is_compatible("amazon,kindle-d01100") ||
-		of_machine_is_compatible("amazon,kindle-d01200");
+		of_machine_is_compatible("amazon,kindle-d01200") ||
+		of_machine_is_compatible("amazon,kindle-ey21");
 }
 
 static int kindle_mx50_late_init(void)
diff --git a/arch/arm/dts/imx50-kindle-ey21.dts b/arch/arm/dts/imx50-kindle-ey21.dts
index 1b8f2ad..0be7001 100644
--- a/arch/arm/dts/imx50-kindle-ey21.dts
+++ b/arch/arm/dts/imx50-kindle-ey21.dts
@@ -17,7 +17,7 @@
 
 / {
 	model = "Amazon Kindle EY21";
-	compatible = "fsl,imx50";
+	compatible = "amazon,kindle-ey21", "fsl,imx50";
 
 	memory {
 		device_type = "memory";
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2017-05-14 21:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-14 21:26 Alexander Kurz [this message]
2017-05-14 21:26 ` [PATCH 2/2] ARM: i.MX50: Kindle-MX50 DT fixes Alexander Kurz
2017-05-16  5:36 ` [PATCH 1/2] ARM: i.MX50: Amazon Kindle: Model EY21 compatibility check Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1494797186-3338-1-git-send-email-akurz@blala.de \
    --to=akurz@blala.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox