Thread (1 message) 1 message, 1 author, 2011-03-30

Re: [PATCH] arm/dt: Add basic device tree support for genesi mx board

From: Steev Klimaszewski <hidden>
Date: 2011-03-30 15:58:19

On Wed, Mar 30, 2011 at 8:15 AM, Jason Liu [off-list ref] wrote:
quoted hunk
This patch add support for Genesi Efika MX Smarttop and Smartbook

Signed-off-by: Jason Liu <redacted>

---
Grant, uboot patch has been included in your uboot patchset.
And mx51_efika build break, need pull in the patch to fix it
http://git.pengutronix.de/?p=imx/linux-2.6.git;a=commitdiff;
h=251290a6078cb88382344b3ee535ae8c6254c1b5
---
 arch/arm/boot/dts/genesi-efikamx.dts   |   30 ++++++++++++++++++++++++++++++
 arch/arm/boot/dts/genesi-efikasb.dts   |   30 ++++++++++++++++++++++++++++++
 arch/arm/mach-mx5/Kconfig              |    1 +
 arch/arm/mach-mx5/board-mx51_efikamx.c |    6 ++++++
 arch/arm/mach-mx5/board-mx51_efikasb.c |    6 ++++++
 5 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/genesi-efikamx.dts b/arch/arm/boot/dts/genesi-efikamx.dts
new file mode 100644
index 0000000..eca9616
--- /dev/null
+++ b/arch/arm/boot/dts/genesi-efikamx.dts
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2011 Linaro Ltd.
+ *
+ * The code contained herein is licensed under the GNU General Public
+ * License. You may obtain a copy of the GNU General Public License
+ * Version 2 or later at the following locations:
+ *
+ * http://www.opensource.org/licenses/gpl-license.html
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/dts-v1/;
+
+/ {
+       model = "Genesi EfikaMX nettop";
+       compatible = "genesi,efikamx";
+       #address-cells = <1>;
+       #size-cells = <1>;
<snip>
quoted hunk
 MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
       /* Maintainer: Amit Kucheria [off-list ref] */
       .boot_params = MX51_PHYS_OFFSET + 0x100,
@@ -294,4 +299,5 @@ MACHINE_START(MX51_EFIKAMX, "Genesi EfikaMX nettop")
       .init_irq = mx51_init_irq,
       .timer = &mx51_efikamx_timer,
       .init_machine = mx51_efikamx_init,
+       .dt_compat = mx51_efikamx_dt_match,
 MACHINE_END
We actually call the small desktop a Smarttop not nettop :)

-- 
Steev Klimaszewski [off-list ref]
Senior Software Engineer, Genesi USA, Inc.

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help