[U-Boot] unassigned-patches/145: Re: [PATCH 4/4] x86: minnowmax: initialize the pin-muxing from device tree
u-boot at bugs.denx.de
u-boot at bugs.denx.de
Fri Apr 24 06:45:01 CEST 2015
Hi Grabriel,
On 23 April 2015 at 10:16, Gabriel Huau <contact at huau-gabriel.fr> wrote:
<commit message here>
> Signed-off-by: Gabriel Huau <contact at huau-gabriel.fr>
> ---
> board/intel/minnowmax/minnowmax.c | 9 +++++++++
> include/configs/minnowmax.h | 1 +
> 2 files changed, 10 insertions(+)
>
> diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c
> index 6e82b16..60dd2bb 100644
> --- a/board/intel/minnowmax/minnowmax.c
> +++ b/board/intel/minnowmax/minnowmax.c
> @@ -7,6 +7,7 @@
> #include <common.h>
> #include <asm/ibmpc.h>
> #include <asm/pnp_def.h>
> +#include <asm/gpio.h>
This should go up one line I think, for ordering.
> #include <netdev.h>
> #include <smsc_lpc47m.h>
>
> @@ -14,6 +15,14 @@
>
> DECLARE_GLOBAL_DATA_PTR;
>
> +int arch_early_init_r(void)
> +{
> + /* do the pin-muxing */
> + gpio_ich6_pinctrl_init();
> +
> + return 0;
> +}
> +
> int board_early_init_f(void)
> {
> lpc47m_enable_serial(SERIAL_DEV, UART0_BASE);
> diff --git a/include/configs/minnowmax.h b/include/configs/minnowmax.h
> index 823e051..3c7b266 100644
> --- a/include/configs/minnowmax.h
> +++ b/include/configs/minnowmax.h
> @@ -15,6 +15,7 @@
>
> #define CONFIG_SYS_MONITOR_LEN (1 << 20)
> #define CONFIG_BOARD_EARLY_INIT_F
> +#define CONFIG_ARCH_EARLY_INIT_R
>
> #define CONFIG_NR_DRAM_BANKS 1
>
> --
> 2.1.4
>
Regards,
Simon
---
Added to GNATS database as unassigned-patches/145
>Responsible: patch-coord
>Message-Id: <CAPnjgZ1djEV3BHjoLysmc-O+KSsvN7rrn=S=qXEyUYwpErwNiQ at mail.gmail.com>
>In-Reply-To: <1429805775-1809-5-git-send-email-contact at huau-gabriel.fr>
>References: <1429805775-1809-1-git-send-email-contact at huau-gabriel.fr> <1429805775-1809-5-git-send-email-contact at huau-gabriel.fr>
>Patch-Date: Fri Apr 24 05:37:28 +0200 2015
More information about the U-Boot
mailing list