Re: [PATCH 1/5] mfd: mc13xxx: Allow to set callback for mc13xxx

2014-05-18 Thread Sascha Hauer
Hi MArc, On Mon, May 19, 2014 at 09:14:19AM +1000, Marc Reilly wrote: > Hi, > > I'm a bit slow on this one, so sorry if I'm too late to the party. :) Don't worry, you're not too late. > > > > +void(*mc13xxx_callback)(struct mc13xxx *mc13xxx); > > > Should (can?) this be static? Yes, it shoul

Re: [PATCH 1/5] mfd: mc13xxx: Allow to set callback for mc13xxx

2014-05-18 Thread Marc Reilly
Hi, I'm a bit slow on this one, so sorry if I'm too late to the party. :) Cheers, Marc On Thursday, May 08, 2014 09:31:35 AM Sascha Hauer wrote: > Some boards have to initialize the PMIC before other devices can > be initialized. This requires three levels of initcalls: one level > in which the

mini2440 and CONFIG_MMU_EARLY

2014-05-18 Thread Michael Olbrich
Hi, are there any special requirements for CONFIG_MMU_EARLY to work? With CONFIG_MMU_EARLY=y barebox master fails to boot. If I change the memsize argument for barebox_arm_entry() in arch/arm/boards/friendlyarm-mini2440/lowlevel_init.S from SZ_32M to SZ_64M then it boots. Any ideas might go wrong

[PATCH 1/4] ARM: mini2440: switch to env2

2014-05-18 Thread Michael Olbrich
Signed-off-by: Michael Olbrich --- arch/arm/boards/friendlyarm-mini2440/env/boot/nand | 9 arch/arm/boards/friendlyarm-mini2440/env/config| 54 -- .../boards/friendlyarm-mini2440/env/config-board | 16 +++ .../friendlyarm-mini2440/env/init/mtdparts-nand| 11

[PATCH 2/4] ARM: mini2440: update defconfig

2014-05-18 Thread Michael Olbrich
Signed-off-by: Michael Olbrich --- arch/arm/configs/friendlyarm_mini2440_defconfig | 34 - 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/arch/arm/configs/friendlyarm_mini2440_defconfig b/arch/arm/configs/friendlyarm_mini2440_defconfig index ed11014..353f

[PATCH 3/4] ARM Samsung: fix booting from NAND with pbl

2014-05-18 Thread Michael Olbrich
The ARM pbl is linked at (TEXT_BASE - SZ_2M). This conflicts with the temporary stack used in s3c24x0_nand_boot. Moving the stack to (TEXT_BASE - SZ_2M) fixes this problem. With this patch a compressed barebox with pbl can boot on mini2440 from NAND. Signed-off-by: Michael Olbrich --- This seems

[PATCH 4/4] net: dm9k: only read on packet for each call to dm9k_eth_rx()

2014-05-18 Thread Michael Olbrich
Some users such as fs/nfs.c just save the pointer to the packet in the handler and process it after net_poll() returns. This break when more than one packet is received using the same buffer. Signed-off-by: Michael Olbrich --- drivers/net/dm9k.c | 6 -- 1 file changed, 4 insertions(+), 2 del

[PATCH 0/4] some mini2440 updates

2014-05-18 Thread Michael Olbrich
Hi, Some updates for the mini2440. This is based on next, is that ok? That's mostly relavant for the defconfig but dm9k.c has a small conflict as well. Michael Michael Olbrich (4): ARM: mini2440: switch to env2 ARM: mini2440: update defconfig ARM Samsung: fix booting from NAND with pbl n