[U-Boot] [PATCH 9/9] ARM: add an "eet" variant of the imx31_phycore board
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Wed Feb 4 22:30:15 CET 2009
On 18:00 Wed 04 Feb , Guennadi Liakhovetski wrote:
> The "eet" variant of the imx31_phycore board has an OLED display, using a
> s6e63d6 display controller on the first SPI interface, using GPIO57 as a
> chip-select for it. With this configuration you can display 256 colour BMP
> images in 16-bit RGB (RGB565) LCD mode.
>
> Signed-off-by: Guennadi Liakhovetski <lg at denx.de>
> ---
>
> Jean-Christophe: another ack, please.
>
> Makefile | 6 +++-
> board/imx31_phycore/imx31_phycore.c | 51 +++++++++++++++++++++++++++++++++
> include/asm-arm/arch-mx31/mx31-regs.h | 16 ++++++++++
> include/configs/imx31_phycore.h | 23 +++++++++++++++
> 4 files changed, 95 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 787c5f2..6151e2c 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -3025,8 +3025,12 @@ apollon_config : unconfig
> imx31_litekit_config : unconfig
> @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_litekit NULL mx31
>
> +imx31_phycore_eet_config \
> imx31_phycore_config : unconfig
> - @$(MKCONFIG) $(@:_config=) arm arm1136 imx31_phycore NULL mx31
> + @if [ -n "$(findstring imx31_phycore_eet_config,$@)" ]; then \
maybe just search for eet will be simplest
> + echo "#define CONFIG_IMX31_PHYCORE_EET" >> $(obj)include/config.h; \
> + fi
> + @$(MKCONFIG) -a imx31_phycore arm arm1136 imx31_phycore NULL mx31
>
> mx31ads_config : unconfig
> @$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads freescale mx31
> diff --git a/board/imx31_phycore/imx31_phycore.c b/board/imx31_phycore/imx31_phycore.c
> index 4c64cb9..c70353d 100644
> --- a/board/imx31_phycore/imx31_phycore.c
> +++ b/board/imx31_phycore/imx31_phycore.c
> @@ -23,6 +23,7 @@
>
>
> #include <common.h>
> +#include <s6e63d6.h>
> #include <asm/arch/mx31.h>
> #include <asm/arch/mx31-regs.h>
>
> @@ -66,6 +67,56 @@ int board_init (void)
> return 0;
> }
>
> +#ifdef BOARD_LATE_INIT
CONFIG_?
> +int board_late_init(void)
> +{
Best Regards,
J.
More information about the U-Boot
mailing list