[U-Boot] [PATCH 9/9] ARM: add an "eet" variant of the imx31_phycore board

Guennadi Liakhovetski lg at denx.de
Wed Feb 4 23:17:10 CET 2009


On Wed, 4 Feb 2009, Jean-Christophe PLAGNIOL-VILLARD wrote:

> 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

simplest for whom?

> > +		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_?

grep?:

$ grep -r BOARD_LATE_INIT lib*
lib_arm/board.c:#ifdef BOARD_LATE_INIT
lib_nios2/board.c:#if defined(CONFIG_BOARD_LATE_INIT)
lib_sh/board.c:#ifdef BOARD_LATE_INIT
lib_sparc/board.c:#if defined(CONFIG_BOARD_LATE_INIT)

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de


More information about the U-Boot mailing list