[PATCH 2/2] powerpc/85xx: Added P1021RDB-PC Platform support

2012-01-08 Thread Xu Jiucheng
Signed-off-by: Xu Jiucheng --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c index 9feccbb..0c32668 100644 --- a/arc

[PATCH 1/2] powerpc/85xx: Add dts for P1021RDB-PC board

2012-01-08 Thread Xu Jiucheng
P1021RDB-PC Overview - 1Gbyte DDR3 (on board DDR) 16Mbyte NOR flash 32Mbyte eSLC NAND Flash 256 Kbit M24256 I2C EEPROM 128 Mbit SPI Flash memory Real-time clock on I2C bus SD/MMC connector to interface with the SD memory card PCIex - x1 PCIe slot or x1 PCIe to dual SATA controll

[SDK v1.2][PATCH 1/2 v3] powerpc/85xx: Add dts for P1021RDB-PC board

2012-01-08 Thread Xu Jiucheng
P1021RDB-PC Overview - 1Gbyte DDR3 (on board DDR) 16Mbyte NOR flash 32Mbyte eSLC NAND Flash 256 Kbit M24256 I2C EEPROM 128 Mbit SPI Flash memory Real-time clock on I2C bus SD/MMC connector to interface with the SD memory card PCIex - x1 PCIe slot or x1 PCIe to dual SATA controll

[SDK v1.2][PATCH 2/2 v3] powerpc/85xx: Added P1021RDB-PC Platform support

2012-01-08 Thread Xu Jiucheng
Signed-off-by: Xu Jiucheng --- arch/powerpc/platforms/85xx/mpc85xx_rdb.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_rdb.c b/arch/powerpc/platforms/85xx/mpc85xx_rdb.c index 9feccbb..0c32668 100644 --- a/arc

[PATCH] powerpc/85xx: check the return value of fsl_add_bridge

2012-01-08 Thread r66093
From: Jerry Huang For all mpc85xx DS/MDS boards, we should check the return value from function "fsl_add_bridge", otherwise, when pcie node status is disabled, the kernel will panic when perform the function "pci_find_hose_for_OF_device" because the hose controller is NULL. below is the call tra

Re: Driver(s) for Synopsys' DesignWare USB OTG

2012-01-08 Thread Leo Li
On Sun, Jan 8, 2012 at 8:56 PM, Nikolai Zhubr wrote: > Hello Piter, > > > 08.01.2012 7:12, you wrote: >> >> 2012/1/8 Nikolai Zhubr: >>> >>> Hello developers, >>> >>> I'm trying to find/combine/fix a driver for Synopsys' DesignWare USB >>> controller. This thing is USB 2.0 host/slave/otg capable an

Re: Driver(s) for Synopsys' DesignWare USB OTG

2012-01-08 Thread Peter Chen
On Sun, Jan 08, 2012 at 04:56:49PM +0400, Nikolai Zhubr wrote: > Hello Piter, > > 08.01.2012 7:12, you wrote: > >2012/1/8 Nikolai Zhubr: > > > >Please see: > >http://marc.info/?l=linux-usb&m=129906859817430&w=2 > Ah, thanks. So sadly uncoordinated work in this area is quite > common. However, in c

Re: [git pull] Please pull powerpc.git next branch

2012-01-08 Thread Michael Neuling
Kumar, Can you pick up this one too. Current Linus tree breaks compiling mpc85xx_defconfig powerpc: fix compile error with 85xx/p1022_ds.c http://patchwork.ozlabs.org/patch/130620/ Mikey In message you wro te: > The following changes since commit e4f387d8db3ba3c2dae4d8bdfe7bb5f4fe1bcb0d:

Re: [RFC PATCH v2 8/9] smp: refactor on_each_cpu to void returning func

2012-01-08 Thread Russell King - ARM Linux
On Sun, Jan 08, 2012 at 03:32:28PM +0200, Gilad Ben-Yossef wrote: > on_each_cpu returns the retunr value of smp_call_function > which is hard coded to 0. > > Refactor on_each_cpu to a void function and the few callers > that check the return value to save compares and branches. > > Signed-off-by:

Re: [RFC PATCH 0/9] Remove useless on_each_cpu return value

2012-01-08 Thread Gilad Ben-Yossef
On Fri, Jan 6, 2012 at 3:03 PM, Peter Zijlstra wrote: > On Tue, 2012-01-03 at 16:19 +0200, Gilad Ben-Yossef wrote: >> on_each_cpu() returns as its own return value the return value of >> smp_call_function(). smp_call_function() in turn returns a hard >> coded value of zero. >> >> Some callers to o

[RFC PATCH v2 8/9] smp: refactor on_each_cpu to void returning func

2012-01-08 Thread Gilad Ben-Yossef
on_each_cpu returns the retunr value of smp_call_function which is hard coded to 0. Refactor on_each_cpu to a void function and the few callers that check the return value to save compares and branches. Signed-off-by: Gilad Ben-Yossef Acked-by: Peter Zijlstra Reviewed-by: Michal Nazarewicz CC:

[RFC PATCH v2 5/9] ppc: avoid using on_each_cpu hard coded ret value

2012-01-08 Thread Gilad Ben-Yossef
on_each_cpu always returns a hard coded return code of zero. Removing all tests based on this return value saves run time cycles for compares and code bloat for branches. Signed-off-by: Gilad Ben-Yossef Acked-by: Peter Zijlstra Reviewed-by: Michal Nazarewicz CC: Benjamin Herrenschmidt CC: Pau

[RFC PATCH v2 0/9] Remove useless on_each_cpu return value

2012-01-08 Thread Gilad Ben-Yossef
on_each_cpu() returns as its own return value the return value of smp_call_function(). smp_call_function() in turn returns a hard coded value of zero. Some callers to on_each_cpu() waste cycles and bloat code space by checking the return value to on_each_cpu(), probably for historical reasons. Th

Re: Driver(s) for Synopsys' DesignWare USB OTG

2012-01-08 Thread Nikolai Zhubr
Hello Piter, 08.01.2012 7:12, you wrote: 2012/1/8 Nikolai Zhubr: Hello developers, I'm trying to find/combine/fix a driver for Synopsys' DesignWare USB controller. This thing is USB 2.0 host/slave/otg capable and is used in various SoCs including Amlogic 8726M, Ralink RT305x, and probably more