[PATCH 1/2] Add support for the Calao-systems HABA-KNX controllers

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Oct 5 10:18:48 EDT 2012


On 15:41 Fri 05 Oct     , Sascha Hauer wrote:
> On Fri, Oct 05, 2012 at 09:37:03AM +0200, Gregory Hermant wrote:
> > Signed-off-by: Gregory Hermant <gregory.hermant at calao-systems.com>
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> 
> >  create mode 100644 arch/arm/boards/haba-knx/Makefile
> >  create mode 100644 arch/arm/boards/haba-knx/config.h
> >  create mode 100644 arch/arm/boards/haba-knx/env/boot.d/10
> >  create mode 100644 arch/arm/boards/haba-knx/env/boot.d/11
> >  create mode 100644 arch/arm/boards/haba-knx/env/boot.d/12
> >  create mode 100644 arch/arm/boards/haba-knx/env/boot.d/13
> 
> Please drop the links for now until the boot sequence patches are
> reworked.
> 
> > +
> > +# MAC address if needed
> > +#ethaddr=xx:xx:xx:xx:xx:xx
> > +ethaddr=6a:63:73:00:00:34
> 
> No hardcoded MAC addresses in the environment please.
> 
> > +#include <spi/flash.h>
> > +
> > +static void haba_knx_set_board_type(void)
> > +{
> > +	if (machine_is_haba_knx_lite())
> > +		armlinux_set_architecture(MACH_TYPE_HABA_KNX_LITE);
> > +	else
> > +		armlinux_set_architecture(MACH_TYPE_HABA_KNX_EXPLORER);
> 
> Can the board type somehow be autodetected? That would be great.
can not

Best Regards,
J.



More information about the barebox mailing list