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

Jan Weitzel J.Weitzel at phytec.de
Wed Dec 11 03:33:48 EST 2013


Am Dienstag, den 10.12.2013, 15:24 +0100 schrieb Sascha Hauer:
> 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?
No I didn't see any problems. I used it only for MLO/xload builds by
now.

Jan 
> 
> Sascha
> 





More information about the barebox mailing list