[U-Boot] [PATCH2/2] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
Dieter Kiermaier
dk-arm-linux at gmx.de
Mon Jun 29 14:45:10 CEST 2009
Hi,
patch 2 of 2 which adds Kirkwood GPIO support to Sheevaplug.
Any comments are welcome!
Dieter
From 528b24be54256cee20f965bc772390034eaeb232 Mon Sep 17 00:00:00 2001
From: Dieter Kiermaier <dk-arm-linux at gmx.de>
Date: Mon, 29 Jun 2009 14:29:15 +0200
Subject: [PATCH] Sheevaplug: Add Kirkwood gpio support to Sheevaplug
Signed-off-by: Dieter Kiermaier <dk-arm-linux at gmx.de>
---
board/Marvell/sheevaplug/sheevaplug.c | 1 +
include/configs/sheevaplug.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/board/Marvell/sheevaplug/sheevaplug.c b/board/Marvell/sheevaplug/sheevaplug.c
index 547126a..fa28fea 100644
--- a/board/Marvell/sheevaplug/sheevaplug.c
+++ b/board/Marvell/sheevaplug/sheevaplug.c
@@ -26,6 +26,7 @@
#include <miiphy.h>
#include <asm/arch/kirkwood.h>
#include <asm/arch/mpp.h>
+#include <asm/arch/gpio.h>
#include "sheevaplug.h"
DECLARE_GLOBAL_DATA_PTR;
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index e62353c..7455c29 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -43,6 +43,7 @@
#define CONFIG_MD5 /* get_random_hex on krikwood needs MD5 support */
#define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
#define CONFIG_KIRKWOOD_EGIGA_INIT /* Enable GbePort0/1 for kernel */
+#define CONFIG_KIRKWOOD_GPIO /* Enable GPIO Support */
#define CONFIG_KIRKWOOD_USBPHY_INIT /* Enable USB PHY init for kernel */
#define CONFIG_KIRKWOOD_RGMII_PAD_1V8 /* Set RGMII Pad voltage to 1.8V */
--
1.5.4.3
More information about the U-Boot
mailing list