diff options
author | Jan Luebbe <jlu@pengutronix.de> | 2012-12-18 15:22:40 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-12-20 12:30:26 +0100 |
commit | fa012d47e4123d0bdc9b453fdb89490e93eec57a (patch) | |
tree | f213c88cf68289a104570c6ded6589972e113a60 /arch/arm/mach-omap/gpmc.c | |
parent | 024698e43ab2e5372c4994e4bbd0736b558aa5ff (diff) | |
download | barebox-fa012d47e4123d0bdc9b453fdb89490e93eec57a.tar.gz barebox-fa012d47e4123d0bdc9b453fdb89490e93eec57a.tar.xz |
arm: beaglebone: add first-stage support for AM335x and board
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-omap/gpmc.c')
-rw-r--r-- | arch/arm/mach-omap/gpmc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/gpmc.c b/arch/arm/mach-omap/gpmc.c index 4f54a10617..3aaa4f69e7 100644 --- a/arch/arm/mach-omap/gpmc.c +++ b/arch/arm/mach-omap/gpmc.c @@ -26,6 +26,7 @@ #include <errno.h> #include <mach/omap3-silicon.h> #include <mach/omap4-silicon.h> +#include <mach/am33xx-silicon.h> #include <mach/gpmc.h> #include <mach/sys_info.h> #include <mach/syslib.h> @@ -38,6 +39,8 @@ static int gpmc_init(void) omap_gpmc_base = (void *)OMAP3_GPMC_BASE; #elif defined(CONFIG_ARCH_OMAP4) omap_gpmc_base = (void *)OMAP44XX_GPMC_BASE; +#elif defined(CONFIG_ARCH_AM33XX) + omap_gpmc_base = (void *)AM33XX_GPMC_BASE; #else #error "Unknown ARCH" #endif |