diff options
author | Marek Vasut <marex@denx.de> | 2014-12-16 14:09:21 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-12-30 14:06:10 +0100 |
commit | d59d7b915eb7c891c06e71e7b2a4967c3a488e94 (patch) | |
tree | b26ecd2578f622cbd740b3836ae38d861f7f3d4a /board/kosagi/novena/novena.c | |
parent | 00ff950ab775410ee9131f39730f3e503e9911da (diff) | |
download | u-boot-imx-d59d7b915eb7c891c06e71e7b2a4967c3a488e94.zip u-boot-imx-d59d7b915eb7c891c06e71e7b2a4967c3a488e94.tar.gz u-boot-imx-d59d7b915eb7c891c06e71e7b2a4967c3a488e94.tar.bz2 |
arm: mx6: novena: Pull GPIO definitions into header
Pull the definitions of GPIOs into a separate header file, so that
they can be used across all source files.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Sean Cross <xobs@kosagi.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/kosagi/novena/novena.c')
-rw-r--r-- | board/kosagi/novena/novena.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/board/kosagi/novena/novena.c b/board/kosagi/novena/novena.c index e303a57..5493e07 100644 --- a/board/kosagi/novena/novena.c +++ b/board/kosagi/novena/novena.c @@ -36,11 +36,9 @@ #include <power/pfuze100_pmic.h> #include <stdio_dev.h> -DECLARE_GLOBAL_DATA_PTR; +#include "novena.h" -#define NOVENA_BUTTON_GPIO IMX_GPIO_NR(4, 14) -#define NOVENA_SD_WP IMX_GPIO_NR(1, 2) -#define NOVENA_SD_CD IMX_GPIO_NR(1, 4) +DECLARE_GLOBAL_DATA_PTR; /* * GPIO button |