[PATCH 04/17] ARM: am335x phytec phyCORE: Switch to devicetree probe support

Sascha Hauer s.hauer at pengutronix.de
Tue Dec 10 09:24:52 EST 2013


On Tue, Dec 10, 2013 at 03:22:12PM +0100, Jan Weitzel wrote:
> Am Dienstag, den 26.11.2013, 17:45 +0100 schrieb Sascha Hauer:
> > This switches the am335x Phytec phyCORE to devicetree probe support.
> > For now we use a linked in dtb.
> > 
> > Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> > ---
> >  arch/arm/boards/pcm051/Makefile       |   2 +-
> >  arch/arm/boards/pcm051/board.c        | 149 ++--------------------------------
> >  arch/arm/boards/pcm051/mux.c          |  65 ---------------
> >  arch/arm/boards/pcm051/mux.h          |   4 -
> >  arch/arm/configs/pcm051_defconfig     |  26 ++++--
> >  arch/arm/configs/pcm051_mlo_defconfig |   8 +-
> >  6 files changed, 32 insertions(+), 222 deletions(-)
> >  delete mode 100644 arch/arm/boards/pcm051/mux.c
> >  delete mode 100644 arch/arm/boards/pcm051/mux.h
> > 
> > ...
> > diff --git a/arch/arm/configs/pcm051_defconfig b/arch/arm/configs/pcm051_defconfig
> > index 97e0940..e55ac47 100644
> > --- a/arch/arm/configs/pcm051_defconfig
> > +++ b/arch/arm/configs/pcm051_defconfig
> > @@ -1,16 +1,21 @@
> > +CONFIG_BUILTIN_DTB=y
> > +CONFIG_BUILTIN_DTB_NAME="am335x-phytec-phycore"
> >  CONFIG_ARCH_OMAP=y
> > -CONFIG_ARCH_AM33XX=y
> >  CONFIG_BAREBOX_UPDATE_AM33XX_SPI_NOR_MLO=y
> >  CONFIG_MACH_PCM051=y
> > -CONFIG_OMAP_UART1=y
> > -CONFIG_AEABI=y
> > +CONFIG_THUMB2_BAREBOX=y
> 
> Is there a reason to use thumb2 now?

It generates smaller binaries. Does this cause trouble?

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list