[PATCH 1/8] Cleanup Kconfig files

2012-12-07 Thread Alexander Shiyan
This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format, removing extraneous lines and spaces. No functional changes. Signed-off-by: Alexander Shiyan --- arch/arm/Kconfig |6 +++--- arch/arm/cpu/Kconfig

[PATCH 8/8] Fix wrong Kconfig reference to ARCH_IMX31

2012-12-07 Thread Alexander Shiyan
Signed-off-by: Alexander Shiyan --- drivers/video/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index f09ffdf..354e68b 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -15,14 +15,14 @@ config IMX

[PATCH 7/8] Remove bad Kconfig reference to MTD_NAND

2012-12-07 Thread Alexander Shiyan
Barebox not contain symbol MTD_NAND, so remove all references to it. Signed-off-by: Alexander Shiyan --- drivers/mtd/nand/Kconfig |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index aa3ea34..49daabf 100644 --- a/drive

[PATCH 5/8] Remove bad Kconfig reference to DISK_DRIVE

2012-12-07 Thread Alexander Shiyan
Barebox not contain symbol DISK_DRIVE, so remove all references to it. Signed-off-by: Alexander Shiyan --- drivers/ata/Kconfig |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index 2e80c3e..636ae6c 100644 --- a/drivers/ata/Kconfi

[PATCH 6/8] Remove bad Kconfig reference to HAS_PCI

2012-12-07 Thread Alexander Shiyan
Barebox not contain symbol HAS_PCI, so remove all references to it. Signed-off-by: Alexander Shiyan --- arch/x86/mach-i386/Kconfig |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/x86/mach-i386/Kconfig b/arch/x86/mach-i386/Kconfig index cb12b9c..b64d21f 100644 --- a/

[PATCH 2/8] Remove bad Kconfig reference to HAS_CFI

2012-12-07 Thread Alexander Shiyan
Barebox not contain symbol HAS_CFI, so remove all references to it. Signed-off-by: Alexander Shiyan --- arch/arm/mach-netx/Kconfig|1 - arch/arm/mach-pxa/Kconfig |1 - arch/ppc/mach-mpc5xxx/Kconfig |1 - 3 files changed, 0 insertions(+), 3 deletions(-) diff --git a/arch/arm/

[PATCH 4/8] Remove bad Kconfig reference to HAVE_CLK

2012-12-07 Thread Alexander Shiyan
Barebox not contain symbol HAVE_CLK, so remove all references to it. Signed-off-by: Alexander Shiyan --- drivers/clk/Kconfig |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 66c1c46..4589128 100644 --- a/drivers/clk/Kconfig

[PATCH 3/8] Remove bad Kconfig reference to HAVE_MMU

2012-12-07 Thread Alexander Shiyan
Barebox not contain symbol HAVE_MMU, so remove all references to it. Signed-off-by: Alexander Shiyan --- arch/arm/mach-pxa/Kconfig |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index 6671da9..6808d2f 100644 --- a/ar

Re: [PATCH] Cleanup Kconfig files

2012-12-07 Thread Alexander Shiyan
On Mon, 26 Nov 2012 09:16:02 +0100 Sascha Hauer wrote: > On Sat, Nov 24, 2012 at 10:53:29PM +0400, Alexander Shiyan wrote: > > This patch provides a global cleanup barebox Kconfig files. This includes > > replacing spaces to tabs, formatting in accordance format, removing > > extraneous lines and

[PATCH] fix GENERIC_PHY match nothing

2012-12-07 Thread 张忠山
According the match logic in function mdio_bus_match generic phy driver matchs nothing. If we want it match anything, We must let it's phy_id_mask be all zeros Signed-off-by: 张忠山 --- drivers/net/phy/generic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/

Re: [PATCH] let kbuild build foo/bar.o correctly

2012-12-07 Thread 张忠山
How about this patch. Why nobody say anything? -- Best Regards, zzs ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v2] at91: reorder BOARDINFO alphabetically

2012-12-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:30 Fri 07 Dec , Sascha Hauer wrote: > On Fri, Dec 07, 2012 at 07:52:49AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 12:16 Thu 06 Dec , Fabio Porcedda wrote: > > > This is to have a nicely ordered list and to decrease the > > > likelihood of a conflict when adding a new b

Re: [PATCH 1/1] mtd: nand: fix unaligned write support

2012-12-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:28 Wed 05 Dec , Sascha Hauer wrote: > On Wed, Dec 05, 2012 at 06:15:20PM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > via cdev we may write unaligned data the code was drop in the commit > > 0a4b1c7e440a81819eb2137f923573a3055dc7a2 > > mtd core: call driver write function with co

mdio_bus_match() bug

2012-12-07 Thread 张忠山
In drivers/net/phy/mdio_bus.c: mdio_bus_match(), It compare phy_id between driver and device. In drivers/net/phy/generic.c set generic phy driver's phy_id to PHY_ANY_UID My phy is DM9161E, it's id is 0x181b881. Of course they won't match! But the generic phy driver indeed can works with DM9161E

Re: [PATCH] clk: use the 'CLK_ALWAYS_ENABLED' flag for clk-fixed by default

2012-12-07 Thread Sascha Hauer
On Thu, Dec 06, 2012 at 10:08:57PM +0400, Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > drivers/clk/clk-fixed.c |1 + > 1 file changed, 1 insertion(+) Applied, thanks. Overall I'm not quite sure how we continue here. ATM for i.MX I enable all gates during startup and do not ha

Re: [PATCH v2] at91: reorder BOARDINFO alphabetically

2012-12-07 Thread Fabio Porcedda
On Fri, Dec 7, 2012 at 9:30 AM, Sascha Hauer wrote: > On Fri, Dec 07, 2012 at 07:52:49AM +0100, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> On 12:16 Thu 06 Dec , Fabio Porcedda wrote: >> > This is to have a nicely ordered list and to decrease the >> > likelihood of a conflict when adding a n

Re: about the dm9000 in mini2440

2012-12-07 Thread Juergen Beisert
Yi Qingliang wrote: > On Thursday, December 06, 2012 12:27:45 PM Eric Bénard wrote: > > Le Thu, 06 Dec 2012 15:55:23 +, > > > > Yi Qingliang a écrit : > > > the address of dm9000 is 0x2800, it should be cs5, but in function > > > "mini2440_devices_init", it set the cs4 instead, why?? > > >

Re: about the dm9000 in mini2440

2012-12-07 Thread Juergen Beisert
Yi Qingliang wrote: > and if connected jtager, the ON switch does not work some time. Seems your jtager powers the system by accident. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pen

Re: about the dm9000 in mini2440

2012-12-07 Thread Juergen Beisert
Yi Qingliang wrote: > I got it finally, but not root cause. > reproduce: > > 1. connect jtag with openjtag(not the official openjtag, but 100ask.net > produced based on openmoko's). > 2. use ON/OFF switch on the board > > then I got "Wrong databus" > but if I disconnect the power line, and reconnec

Re: [PATCH v2] at91: reorder BOARDINFO alphabetically

2012-12-07 Thread Sascha Hauer
On Fri, Dec 07, 2012 at 07:52:49AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 12:16 Thu 06 Dec , Fabio Porcedda wrote: > > This is to have a nicely ordered list and to decrease the > > likelihood of a conflict when adding a new board. > > > > Signed-off-by: Fabio Porcedda > > Cc: Je