[U-Boot] [PATCH v2 2/2] omap4_panda: Build in cmd_gpio support on panda
Joe Hershberger
joe.hershberger at ni.com
Thu Oct 6 23:50:44 CEST 2011
Enable the gpio command
Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
Cc: Joe Hershberger <joe.hershberger at gmail.com>
Cc: Sandeep Paulraj <s-paulraj at ti.com>
---
Changes for v2:
- Correct a bad merge... sorry.
board/ti/panda/panda_mux_data.h | 2 +-
include/configs/omap4_panda.h | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/board/ti/panda/panda_mux_data.h b/board/ti/panda/panda_mux_data.h
index 63448b6..c692c7b 100644
--- a/board/ti/panda/panda_mux_data.h
+++ b/board/ti/panda/panda_mux_data.h
@@ -212,7 +212,7 @@ const struct pad_conf_entry wkup_padconf_array_non_essential[] = {
{PAD0_FREF_SLICER_IN, (M0)}, /* fref_slicer_in */
{PAD1_FREF_CLK_IOREQ, (M0)}, /* fref_clk_ioreq */
{PAD0_FREF_CLK0_OUT, (M2)}, /* sys_drm_msecure */
- {PAD1_FREF_CLK3_REQ, M7}, /* safe mode */
+ {PAD1_FREF_CLK3_REQ, M7}, /* safe mode */
{PAD0_FREF_CLK3_OUT, (M0)}, /* fref_clk3_out */
{PAD1_FREF_CLK4_REQ, (PTU | M3)}, /* led status_1 */
{PAD0_FREF_CLK4_OUT, (PTU | M3)}, /* led status_2 */
diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index 67da70e..b88e5ad 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -35,6 +35,9 @@
#include <configs/omap4_common.h>
+/* GPIO */
+#define CONFIG_CMD_GPIO 1
+
/* ENV related config options */
#define CONFIG_ENV_IS_NOWHERE
--
1.6.0.2
More information about the U-Boot
mailing list