[PATCH 2/2] pandaboard: Add gpmc_generic_init to board init.

Jan Weitzel J.Weitzel at phytec.de
Fri Mar 2 03:04:40 EST 2012


Am Dienstag, den 31.01.2012, 21:51 +0100 schrieb Marek Belisko:
> We need to setup generic gpmc otherwise kernel panic during boot.
> 
> Signed-off-by: Marek Belisko <marek.belisko at open-nandra.com>
> ---
>  arch/arm/boards/panda/board.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boards/panda/board.c b/arch/arm/boards/panda/board.c
> index be3ad77..1c71545 100644
> --- a/arch/arm/boards/panda/board.c
> +++ b/arch/arm/boards/panda/board.c
> @@ -20,6 +20,7 @@
>  #include <mach/gpio.h>
>  #include <environment.h>
>  #include <mach/xload.h>
> +#include <mach/gpmc.h>
>  
>  static int board_revision;
>  
> @@ -137,6 +138,8 @@ static int panda_devices_init(void)
>  			   IORESOURCE_MEM, NULL);
>  	panda_ehci_init();
>  
> +	gpmc_generic_init(0x00);
> +

3.3.0-rc5 is still not booting without this patch. Using panda_defconfig
implicitly select CONFIG_OMAP_GPMC.

>  	armlinux_set_bootparams((void *)0x80000100);
>  	armlinux_set_architecture(MACH_TYPE_OMAP4_PANDA);
>  





More information about the barebox mailing list