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

Sascha Hauer s.hauer at pengutronix.de
Fri Oct 5 09:41:31 EDT 2012


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.

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