diff options
author | Wolfgang Denk <wd@denx.de> | 2007-04-04 02:18:56 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-04-04 02:18:56 +0200 |
commit | 25b0806fff1f1fd24f69f6d9ef04d8345667e60b (patch) | |
tree | 38cbc11d30a3a5de01c5cfa5f5ea0da4597aad64 /board/amcc/bamboo | |
parent | 31c98a88228021b314c89ebb8104fb6473da4471 (diff) | |
parent | 0e7d4916afaf83083b9b70ad779f29f7b57bd8ed (diff) | |
download | u-boot-imx-25b0806fff1f1fd24f69f6d9ef04d8345667e60b.zip u-boot-imx-25b0806fff1f1fd24f69f6d9ef04d8345667e60b.tar.gz u-boot-imx-25b0806fff1f1fd24f69f6d9ef04d8345667e60b.tar.bz2 |
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Diffstat (limited to 'board/amcc/bamboo')
-rw-r--r-- | board/amcc/bamboo/bamboo.c | 1 | ||||
-rw-r--r-- | board/amcc/bamboo/bamboo.h | 10 |
2 files changed, 1 insertions, 10 deletions
diff --git a/board/amcc/bamboo/bamboo.c b/board/amcc/bamboo/bamboo.c index c93ba6e..b5bb145 100644 --- a/board/amcc/bamboo/bamboo.c +++ b/board/amcc/bamboo/bamboo.c @@ -23,6 +23,7 @@ #include <common.h> #include <asm/processor.h> +#include <asm/gpio.h> #include <spd_sdram.h> #include <ppc440.h> #include "bamboo.h" diff --git a/board/amcc/bamboo/bamboo.h b/board/amcc/bamboo/bamboo.h index 1ce6366..4474862 100644 --- a/board/amcc/bamboo/bamboo.h +++ b/board/amcc/bamboo/bamboo.h @@ -264,19 +264,9 @@ #define TRUE 1 #define FALSE 0 -#define GPIO_GROUP_MAX 2 -#define GPIO_MAX 32 -#define GPIO_ALT1_SEL 0x40000000 /* GPIO_OUT value put in GPIO_TSx for the GPIO nb 0 */ -#define GPIO_ALT2_SEL 0x80000000 /* GPIO_OUT value put in GPIO_TSx for the GPIO nb 1 */ -#define GPIO_ALT3_SEL 0xC0000000 /* GPIO_OUT value put in GPIO_TSx for the GPIO nb 2 */ -#define GPIO_MASK 0xC0000000 /* GPIO_MASK */ -#define GPIO_IN_SEL 0x40000000 /* GPIO_IN value put in GPIO_ISx for the GPIO nb 0 */ - /* For the other GPIO number, you must shift */ - #define GPIO0 0 #define GPIO1 1 - /*#define MAX_SELECTION_NB CORE_NB */ #define MAX_CORE_SELECT_NB 22 |