Re: [PATCH 4/5] ppc: DA923RC: add board support

2013-10-30 Thread Jean-Christophe PLAGNIOL-VILLARD
> +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include "product_data.h" > + > +#define BOARD_TYPE_NONE 0 > +#define BOARD_TYPE_DA9231 > +#define BOARD_TYPE_GBX460 2 > + > +static struct gfar_info_struct

[PATCH] pinctrl: don't allow drivers to be selected by menuconfig user

2013-10-30 Thread Lucas Stach
There is no much sense in having the pinctrl drivers be user selectable as all arches using on of them already selects the right one. So to avoid presenting the user with the choice to enable unrelated pinctrl drivers or pushing lots of dependencies into the Kconfig just drop the configurability.

Re: [PATCH] blspec: Fix crash with menu disabled

2013-10-30 Thread Jürgen Beisert
On Wednesday 30 October 2013 11:37:55 Sascha Hauer wrote: > blspec->menu is only valid when menu support is enabled. Check for it > before dereferencing the pointer. > > Signed-off-by: Sascha Hauer > --- > include/blspec.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a

[PATCH] blspec: Fix crash with menu disabled

2013-10-30 Thread Sascha Hauer
blspec->menu is only valid when menu support is enabled. Check for it before dereferencing the pointer. Signed-off-by: Sascha Hauer --- include/blspec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/blspec.h b/include/blspec.h index 8422e5b..aa836e6 100644 --- a/i

[PATCH v2 0/5] GEIP DA923RC board support

2013-10-30 Thread Renaud Barbier
This patch set v2 addresses the comment about registering a MAC address for an Ethernet port. The consequence is that there are now only five patches. This patch set adds support for the GEIP DA923RC board. It extends SOC support to the MPC8544 and enables the DDR driver. The gianfar driver suppor

[PATCH 2/5] ppc: mpc85xx: define Ethernet port count

2013-10-30 Thread Renaud Barbier
Because the port count is different between the MPC8544 and existing CPU support, the Ethernet port count is defined on a per CPU basis. Accordingly, the TBI PHY initialisation code is updated. Signed-off-by: Renaud Barbier --- arch/ppc/mach-mpc85xx/eth-devices.c|2 +- .../pp

[PATCH 4/5] ppc: DA923RC: add board support

2013-10-30 Thread Renaud Barbier
Add the GEIP DA923RC board support. This includes core and updated header files as well as defconfig and make files. Signed-off-by: Renaud Barbier --- arch/ppc/boards/geip-da923rc/Makefile |7 + arch/ppc/boards/geip-da923rc/barebox.lds.S | 159 + arch/ppc/boards/g

[PATCH 5/5] ppc: mpc85xx: build directives

2013-10-30 Thread Renaud Barbier
Add the Kconfig and Makefile directives to build barebox for the GEIP DA923RC board. Signed-off-by: Renaud Barbier --- arch/ppc/Makefile |1 + arch/ppc/mach-mpc85xx/Kconfig | 32 +--- arch/ppc/mach-mpc85xx/Makefile |1 + 3 files changed, 27 ins

[PATCH 3/5] ppc: mpc85xx: enable DDR driver

2013-10-30 Thread Renaud Barbier
The use of the DDR driver as well as early I2C support is enabled for board initialising their memory through SPD EEPROM data. A SOC specific function returning the DDR bus frequency is added for the DDR driver to translate DDR timings to register values. Signed-off-by: Renaud Barbier --- arch/

[PATCH 1/5] ppc: mpc85xx: mpc8544 support

2013-10-30 Thread Renaud Barbier
Definitions are added to support the mpc8544 CPU. The function returning the I2C bus frequency is updated to take into account the mpc8544 specific clock ratio. Signed-off-by: Renaud Barbier --- arch/ppc/include/asm/processor.h |2 ++ arch/ppc/mach-mpc85xx/cpuid.c