Benoit Cousson wrote:

> Signed-off-by: Benoit Cousson <b-cous...@ti.com>
> Cc: Tony Lindgren <t...@atomide.com>
> Cc: Paul Walmsley <p...@pwsan.com>
> Cc: Kevin Hilman <khil...@deeprootsystems.com>
> ---
>  arch/arm/mach-omap2/Kconfig         |    1 +
>  arch/arm/mach-omap2/board-4430sdp.c |   12 ++++++++++++
>  2 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index 6aede64..4a8f897 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -240,6 +240,7 @@ config MACH_OMAP_4430SDP
>       bool "OMAP 4430 SDP board"
>       default y
>       depends on ARCH_OMAP4
> +     select OMAP_PACKAGE_CBL
>
>  config MACH_OMAP4_PANDA
>       bool "OMAP4 Panda Board"
> diff --git a/arch/arm/mach-omap2/board-4430sdp.c
b/arch/arm/mach-omap2/board-4430sdp.c
> index 9447644..d087712 100644
> --- a/arch/arm/mach-omap2/board-4430sdp.c
> +++ b/arch/arm/mach-omap2/board-4430sdp.c
> @@ -35,6 +35,8 @@
>  #include <plat/timer-gp.h>
>  #include <plat/usb.h>
>  #include <plat/mmc.h>
> +
> +#include "mux.h"
>  #include "hsmmc.h"
>
>  #define ETH_KS8851_IRQ                       34
> @@ -426,10 +428,20 @@ static int __init omap4_i2c_init(void)
>       omap_register_i2c_bus(4, 400, NULL, 0);
>       return 0;
>  }
> +
> +#ifdef CONFIG_OMAP_MUX
> +static struct omap_board_mux board_mux[] __initdata = {
> +     { .reg_offset = OMAP_MUX_TERMINATOR },
> +};
> +#else
> +#define board_mux    NULL
> +#endif
> +
>  static void __init omap_4430sdp_init(void)
>  {
>       int status;
>
> +     omap4_mux_init(board_mux, OMAP_PACKAGE_CBL);
>       omap4_i2c_init();
>       platform_add_devices(sdp4430_devices,
ARRAY_SIZE(sdp4430_devices));
>       omap_serial_init();


Panda uses the same package I believe - I'll double check and update
that board file. I'll test this series tomorrow on both boards.

- Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to