Re: [PATCH 2/6] raspberry-pi: add leds support

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 01:11:38PM +0300, Antony Pavlov wrote: > On Tue, 13 Jan 2015 16:15:45 +0800 > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > > On Jan 13, 2015, at 3:58 PM, Antony Pavlov > > > wrote: > > > > > > On Tue, 13 Jan 2015 07:26:12 +0100 > > > Jean-Christophe PLAGNIOL-VILLA

Re: [PATCH 0/6 v2] raspberry-pi: updates

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 07:31:28AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Hi, > > v2: > > send correct leds patch > > The following patch serie prepare the raspberry for USB support > > The following changes since commit 9cd14d260aa22ae089f81a07be2c0e5dea2ff

Re: [PATCH] ARM: include some headers from barebox-arm.h

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 06:36:54PM +0900, Masahiro Yamada wrote: > ENTRY_FUNCTION() references __barebox_arm_head(), > so should be included from barebox-arm.h > to avoid implicit declaration warning/error. > > ENTRY_FUNCTION() uses __naked, so should also be > included. > > Signed-off-by: Masa

Re: [PATCH v2] kbuild: add KBUILD_DEFCONFIG

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 05:14:36PM +0900, Masahiro Yamada wrote: > This allows "make ARCH=... defconfig". > > Fox example, you can type "make defconfig" instead of > "make sandbox_defconfig". > > Signed-off-by: Masahiro Yamada Applied, thanks Sascha -- Pengutronix e.K.

Re: [PATCH 2/6] raspberry-pi: add leds support

2015-01-13 Thread Antony Pavlov
On Tue, 13 Jan 2015 16:15:45 +0800 Jean-Christophe PLAGNIOL-VILLARD wrote: > > > On Jan 13, 2015, at 3:58 PM, Antony Pavlov wrote: > > > > On Tue, 13 Jan 2015 07:26:12 +0100 > > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > I have planned to switch raspberry pi to device tree support as Li

[PATCH] ARM: include some headers from barebox-arm.h

2015-01-13 Thread Masahiro Yamada
ENTRY_FUNCTION() references __barebox_arm_head(), so should be included from barebox-arm.h to avoid implicit declaration warning/error. ENTRY_FUNCTION() uses __naked, so should also be included. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/barebox-arm.h | 2 ++ 1 file changed, 2 i

[PATCH] gitignore: remove obsolete link method for arch specification

2015-01-13 Thread Masahiro Yamada
The cross_arch and cross_compile links method is obsolete and not available any more, so we remove it from the .gitignore. Signed-off-by: Masahiro Yamada --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index 74d24ea..0456bfd 100644 --- a/.gitignore ++

Re: [PATCH 2/3] defaultenv-2: introduce /env/rc.d

2015-01-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 13, 2015, at 5:12 PM, Jan Lübbe wrote: > > Hi Jean-Christophe, > > On Tue, 2015-01-13 at 16:29 +0800, Jean-Christophe PLAGNIOL-VILLARD wrote: >> and this will allow also to have the same script at different order >> based on the board requirement. > > So without links you should be ab

Re: [PATCH 2/3] defaultenv-2: introduce /env/rc.d

2015-01-13 Thread Jan Lübbe
Hi Jean-Christophe, On Tue, 2015-01-13 at 16:29 +0800, Jean-Christophe PLAGNIOL-VILLARD wrote: > and this will allow also to have the same script at different order > based on the board requirement. So without links you should be able to use 'mv' instead of 'ln'. If this doesn't work for your ca

Re: [PATCH 2/3] defaultenv-2: introduce /env/rc.d

2015-01-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 13, 2015, at 4:25 PM, Sascha Hauer wrote: > > On Tue, Jan 13, 2015 at 07:21:09AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> as we now will use symlink on /env/rc.d to specify init order >> >> the script will be store in /env/init >> >> so any board can overwrite them or add

Re: [PATCH 2/3] defaultenv-2: introduce /env/rc.d

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 07:21:09AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > as we now will use symlink on /env/rc.d to specify init order > > the script will be store in /env/init > > so any board can overwrite them or add script that need to run before a > default one Boards can overwr

Re: [PATCH] kbuild: add KBUILD_DEFCONFIG

2015-01-13 Thread Masahiro Yamada
On Tue, 13 Jan 2015 09:02:58 +0100 Sascha Hauer wrote: > On Tue, Jan 13, 2015 at 04:54:47PM +0900, Masahiro Yamada wrote: > > Hi Jean-Christophe, > > > > On Tue, 13 Jan 2015 14:53:19 +0800 > > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > > > > > On Jan 13, 2015, at 2:46 PM, Masahiro Yam

Re: [PATCH 2/6] raspberry-pi: add leds support

2015-01-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 13, 2015, at 3:58 PM, Antony Pavlov wrote: > > On Tue, 13 Jan 2015 07:26:12 +0100 > Jean-Christophe PLAGNIOL-VILLARD wrote: > > I have planned to switch raspberry pi to device tree support as Linux does. but as I do not want to build multi binary switch (leds & co) those to DT make

Re: [PATCH v2] kbuild: add KBUILD_DEFCONFIG

2015-01-13 Thread Jean-Christophe PLAGNIOL-VILLARD
> On Jan 13, 2015, at 4:14 PM, Masahiro Yamada > wrote: > > This allows "make ARCH=... defconfig". > > Fox example, you can type "make defconfig" instead of > "make sandbox_defconfig". > > Signed-off-by: Masahiro Yamada Ack > --- > > Changes in v2: > - Add it only to sandbox, x86, efi. >

[PATCH v2] kbuild: add KBUILD_DEFCONFIG

2015-01-13 Thread Masahiro Yamada
This allows "make ARCH=... defconfig". Fox example, you can type "make defconfig" instead of "make sandbox_defconfig". Signed-off-by: Masahiro Yamada --- Changes in v2: - Add it only to sandbox, x86, efi. arch/efi/Makefile | 2 ++ arch/sandbox/Makefile | 1 + arch/x86/Makefile | 2 +

Re: [PATCH 1/3] defaultenv-2: fix misplace NV dir in env

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 07:21:08AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Applied this one to master Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http

Re: [PATCH 0/5] .gitignore fixes

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 04:20:41PM +0900, Masahiro Yamada wrote: > > > > Borislav Petkov (1): > gitignore: add all.config > > Jani Nikula (1): > gitignore: Add GNU GLOBAL files to top .gitignore > > Jike Song (1): > .gitignore: match ncscope.out > > Masahiro Yamada (2): > gitignore: d

Re: [PATCH] powerpc: include to avoid dupulicated defines

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 04:02:30PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/ppc/lib/crtsavres.S | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | |

Re: [PATCH] kbuild: arm: Do not define "comma" twice

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 03:53:18PM +0900, Masahiro Yamada wrote: > The definition of "comma" exists in scripts/Kbuild.include. > We should not double it. > > Note: > This was already fixed in Linux Kernel too. > See commit 226422d08c33 of Linux Kernel. > > Signed-off-by: Masahiro Yamada Applied

Re: [PATCH] kbuild: add KBUILD_DEFCONFIG

2015-01-13 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 04:54:47PM +0900, Masahiro Yamada wrote: > Hi Jean-Christophe, > > On Tue, 13 Jan 2015 14:53:19 +0800 > Jean-Christophe PLAGNIOL-VILLARD wrote: > > > > > > On Jan 13, 2015, at 2:46 PM, Masahiro Yamada > > > wrote: > > > > > > This allows "make ARCH=... defconfig". > >