Re: [U-Boot] [PATCH 6/7] arm: ls102xa: Add SD boot support for LS1021AQDS board

2014-09-24 Thread Huan Wang
Hi, Albert, > On Mon, 22 Sep 2014 06:46:20 +, Huan Wang > wrote: > > > Hi, Albert, > > > > > > On Thu, 18 Sep 2014 13:47:18 +0800, Alison Wang > > > > > > > > wrote: > > > > > > > > > + > > > > > + . = ALIGN(4); > > > > > + .u_boot_list : { > > > > > + KEEP(*(SORT(.u_boo

Re: [U-Boot] [PATCH 1/7] spl: pbl: Add new SPL image for pblimage tool

2014-09-24 Thread Huan Wang
Hi, York, > On 9/22/14 7:43 PM, "Wang Huan-B18965" > wrote: > > >Hi, York, > > > >> On 09/21/2014 11:17 PM, Wang Huan-B18965 wrote: > >> > > >> > [Alison Wang] Let me explain the sequence. > >> > > >> > 1. u-boot-spl.bin is produced. The size of it is not a fixed value. > >> > > >> > 2. u-boot-s

[U-Boot] [PATCH 2/4] qe: add u-qe support to arm board

2014-09-24 Thread Zhao Qiang
ls1021 is arm-core and support qe which is u-qe. add u-qe init for arm board. Signed-off-by: Zhao Qiang --- arch/arm/include/asm/arch-ls102xa/config.h | 4 arch/arm/include/asm/global_data.h | 8 drivers/Makefile | 1 + drivers/qe/Makefile

Re: [U-Boot] ARM: rpi_b: query internal MAC address from firmware

2014-09-24 Thread Stephen Warren
On 09/24/2014 01:44 PM, Stephen Warren wrote: > On 09/24/2014 01:27 PM, Jeroen Hofstee wrote: >> Hello Stephan, >> >> On 24-09-14 05:45, Stephen Warren wrote: >>> The built-in SMSC 95xx chip doesn't know its own MAC address. Instead, >>> we must query it from the VC firmware; it's probably encoded

Re: [U-Boot] [PATCH v10] nand/denali: Adding Denali NAND driver support

2014-09-24 Thread Scott Wood
On Wed, 2014-09-24 at 23:05 +0900, Masahiro YAMADA wrote: > Hi Scott, Tom, > > > 2014-09-12 19:43 GMT+09:00 Masahiro Yamada : > > > > On Fri, 12 Sep 2014 00:42:17 -0500 > > Chin Liang See wrote: > > > >> To add the Denali NAND driver support into U-Boot. > >> This driver is leveraged from Linux

Re: [U-Boot] [PATCH v3 10/10] kconfig: move CONFIG_DEFAULT_DEVICE_TREE to kconfig

2014-09-24 Thread Simon Glass
Hi Masahiro, On 22 September 2014 04:59, Masahiro Yamada wrote: > This option specifies the default Device Tree used for the run-time > configuration of U-Boot. > > Signed-off-by: Masahiro Yamada > Cc: Simon Glass > Cc: Stephen Warren > Cc: Minkyu Kang > Cc: Michal Simek > --- > > Changes i

Re: [U-Boot] [PATCH v3 09/10] kconfig: move CONFIG_OF_* to Kconfig

2014-09-24 Thread Simon Glass
Hi Masahiro, On 22 September 2014 04:59, Masahiro Yamada wrote: > This commit moves: > CONFIG_OF_CONTROL > CONFIG_OF_SEPARATE > CONFIG_OF_EMBED > CONFIG_OF_HOSTFILE > > Because these options are currently not supported for SPL, > the "Device Tree Control" menu does not appear in the SPL >

Re: [U-Boot] [RFC PATCH v1] powerpc: add --bss-plt to LDFLAGS

2014-09-24 Thread York Sun
On 09/09/2014 09:03 PM, Chris Packham wrote: > With some versions of gcc (that we know of 4.6.3 and 4.8.2 are affected) > it is necessary to specify --bss-plt to get the final blrl in the > _GOT2_TABLE_. Without this the last symbol does not get it's address > relocated. For the P2041RDB board thi

[U-Boot] [Patch v2, 2/2] board/ls1021aqds_d4: Add DDR4 support

2014-09-24 Thread York Sun
LS1021AQDS has a variant with DDR4 slot. This patch adds a new target for this variant and enables DDR4 support. RAW timing parameters are not added for DDR4. The board timing parameters are only tuned for single-rank 1600 and 1800MT/s with Micron DIMM 9ASF51272AZ-2G1A1 due to availability. Signed

Re: [U-Boot] ARM: rpi_b: query internal MAC address from firmware

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 09:44:40 PM, Stephen Warren wrote: > On 09/24/2014 01:27 PM, Jeroen Hofstee wrote: > > Hello Stephan, > > > > On 24-09-14 05:45, Stephen Warren wrote: > >> The built-in SMSC 95xx chip doesn't know its own MAC address. Instead, > >> we must query it from the VC f

Re: [U-Boot] [PATCH][v2] driver/mtd: Use generic timer API for FSL IFC, eLBC

2014-09-24 Thread Scott Wood
On Tue, 2014-09-23 at 09:57 +0530, Prabhakar Kushwaha wrote: > Freescale's flash control driver is using architecture specific timer API > i.e. usec2ticks > > Replace usec2ticks with get_timer() (generic timer API) > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: updated timeout tim

Re: [U-Boot] ARM: rpi_b: query internal MAC address from firmware

2014-09-24 Thread Stephen Warren
On 09/24/2014 01:27 PM, Jeroen Hofstee wrote: Hello Stephan, On 24-09-14 05:45, Stephen Warren wrote: The built-in SMSC 95xx chip doesn't know its own MAC address. Instead, we must query it from the VC firmware; it's probably encoded in fuses on the BCM2835. Signed-off-by: Stephen Warren ---

Re: [U-Boot] ARM: rpi_b: query internal MAC address from firmware

2014-09-24 Thread Jeroen Hofstee
Hello Stephan, On 24-09-14 05:45, Stephen Warren wrote: The built-in SMSC 95xx chip doesn't know its own MAC address. Instead, we must query it from the VC firmware; it's probably encoded in fuses on the BCM2835. Signed-off-by: Stephen Warren --- This depends on "usb: dwc2: Add driver for Syno

Re: [U-Boot] [PATCH v2 0/9] Add a better USB keyboard polling method

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 02:06:02 PM, Hans de Goede wrote: > Hi Marek, > > Here is v2 of my "Add a better USB keyboard polling method" patch-set. > > Changes in v2: > -Added 2 new patches: > usb: kbd: Fix memleak on usb_kbd_deregister() > stdio: Fix memleak on stdio_deregister > -Fix

Re: [U-Boot] [PATCH 1/3] usb: dwc2: Add driver for Synopsis DWC2 USB IP block

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 05:37:16 PM, Stephen Warren wrote: > On 09/23/2014 09:31 PM, Stephen Warren wrote: > > On 09/21/2014 07:13 AM, Marek Vasut wrote: > >> From: Oleksandr Tymoshenko > >> > >> This is the USB host controller used on the Altera SoCFPGA and Raspbery > >> Pi. > >> >

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 02:24:44 PM, Lukasz Majewski wrote: > Hi Marek, > > The following changes since commit > 68bc8b4f2946c3da06c2b05d4f4c7e594cb1fa48: > > usb: kbd: Allow "usb reset" to continue when an usb kbd is used > (2014-09-21 12:26:19 +0200) > > are available in the gi

Re: [U-Boot] [PATCH] powerpc/t104xrdb: Enable SPI flash Extend address support

2014-09-24 Thread Jagan Teki
On 17 September 2014 15:07, Hou Zhiqiang wrote: > Enable the Extend address to support SPI flash more than 16MB. > > Signed-off-by: Hou Zhiqiang > --- > Based on git://git.denx.de/u-boot.git. > Also can be applied to git://www.denx.de/git/u-boot-mpc85xx.git. > Tested on board T1040RDB. > > inclu

Re: [U-Boot] [PATCH 2/2] SPI: mxc_spi: delay initialisation until claim bus

2014-09-24 Thread Jagan Teki
On 24 September 2014 23:53, Jagan Teki wrote: > On 1 September 2014 14:16, Markus Niebel wrote: >> From: Markus Niebel >> >> it is not correct to init for a specific slave in spi_setup_slave. >> instead buffer the values and delay init until spi_claim_bus. >> >> Signed-off-by: Markus Niebel >>

Re: [U-Boot] [PATCH 2/2] SPI: mxc_spi: delay initialisation until claim bus

2014-09-24 Thread Jagan Teki
On 1 September 2014 14:16, Markus Niebel wrote: > From: Markus Niebel > > it is not correct to init for a specific slave in spi_setup_slave. > instead buffer the values and delay init until spi_claim_bus. > > Signed-off-by: Markus Niebel > --- > drivers/spi/mxc_spi.c | 37 +-

[U-Boot] [PATCH] wandboard: Select CONFIG_CMD_FUSE

2014-09-24 Thread Fabio Estevam
From: Fabio Estevam Select CONFIG_CMD_FUSE so that the fuse API commands can be used. Signed-off-by: Fabio Estevam --- include/configs/wandboard.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/wandboard.h b/include/configs/wandboard.h index 7d96908..9fb501a 100644 --

Re: [U-Boot] [RFC PATCH 09/14] dm: tegra: Add platform data for the SPL uart

2014-09-24 Thread Simon Glass
Hi Stephen, On 24 September 2014 09:42, Stephen Warren wrote: > > On 09/23/2014 05:30 PM, Simon Glass wrote: >> >> Since we currently don't have device tree available in SPL, add platform >> data so the uart works. > > >> diff --git a/drivers/serial/serial_tegra.c b/drivers/serial/serial_tegra.c

Re: [U-Boot] [PATCH 1/3] usb: dwc2: Add driver for Synopsis DWC2 USB IP block

2014-09-24 Thread Stephen Warren
On 09/23/2014 09:31 PM, Stephen Warren wrote: On 09/21/2014 07:13 AM, Marek Vasut wrote: From: Oleksandr Tymoshenko This is the USB host controller used on the Altera SoCFPGA and Raspbery Pi. This code has three checkpatch warnings, but to make sure it stays at least readable and clear, these

Re: [U-Boot] [RFC PATCH 09/14] dm: tegra: Add platform data for the SPL uart

2014-09-24 Thread Stephen Warren
On 09/23/2014 05:30 PM, Simon Glass wrote: Since we currently don't have device tree available in SPL, add platform data so the uart works. diff --git a/drivers/serial/serial_tegra.c b/drivers/serial/serial_tegra.c +#ifdef CONFIG_OF_CONTROL static const struct udevice_id tegra_serial_ids[

Re: [U-Boot] [PATCH 50/51] arm: socfpga: Split SoCFPGA configuration

2014-09-24 Thread Pavel Machek
Hi! > > From: Pavel Machek > > > > Split the SoCFPGA configuration into SoC-specific part which is > > common for all boards (socfpga_cyclone5_common.h) and a board > > specific part. There is currently only one board, which is the > > generic SoCFPGA board (socfpga_cyclone5.h), but there are mo

Re: [U-Boot] [PATCH v2 0/30] Introduce driver model support for SPI, SPI flash, cros_ec

2014-09-24 Thread Simon Glass
Hi Jagan, On 24 September 2014 08:31, Jagan Teki wrote: > On 24 September 2014 19:17, Simon Glass wrote: > > Hi Jagan, > > > > On 15 September 2014 06:33, Simon Glass wrote: > >> > >> Up until now driver model has not been used for any type of bus. Buses > >> have some unique properties and ne

Re: [U-Boot] [PATCH v2 0/30] Introduce driver model support for SPI, SPI flash, cros_ec

2014-09-24 Thread Jagan Teki
On 24 September 2014 19:17, Simon Glass wrote: > Hi Jagan, > > On 15 September 2014 06:33, Simon Glass wrote: >> >> Up until now driver model has not been used for any type of bus. Buses >> have some unique properties and needs, so we cannot claim that driver >> model can cover all the common cas

Re: [U-Boot] [PATCH 50/51] arm: socfpga: Split SoCFPGA configuration

2014-09-24 Thread Dinh Nguyen
On Sun, 21 Sep 2014, Marek Vasut wrote: > From: Pavel Machek > > Split the SoCFPGA configuration into SoC-specific part which is > common for all boards (socfpga_cyclone5_common.h) and a board > specific part. There is currently only one board, which is the > generic SoCFPGA board (socfpga_cyclo

Re: [U-Boot] [PATCH v10] nand/denali: Adding Denali NAND driver support

2014-09-24 Thread Masahiro YAMADA
Hi Scott, Tom, 2014-09-12 19:43 GMT+09:00 Masahiro Yamada : > > On Fri, 12 Sep 2014 00:42:17 -0500 > Chin Liang See wrote: > >> To add the Denali NAND driver support into U-Boot. >> This driver is leveraged from Linux with commit ID >> fdbad98dff8007f2b8bee6698b5d25ebba0471c9. For Denali >> cont

Re: [U-Boot] [PATCH 51/51] arm: socfpga: Use CMD_FS_GENERIC

2014-09-24 Thread Michal Simek
On 09/21/2014 03:12 PM, Marek Vasut wrote: > Enable and use the CONFIG_CMD_FS_GENERIC to avoid hard-coding the > filesystem type into the environment. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Albert Aribaud > Cc: Tom Rini > Cc: Wolfgang Denk > Cc: Pavel Mac

Re: [U-Boot] [PATCH v2 0/30] Introduce driver model support for SPI, SPI flash, cros_ec

2014-09-24 Thread Simon Glass
Hi Jagan, On 15 September 2014 06:33, Simon Glass wrote: > Up until now driver model has not been used for any type of bus. Buses > have some unique properties and needs, so we cannot claim that driver > model can cover all the common cases unless we have converted a bus over > to driver model.

Re: [U-Boot] [PATCH 27/51] fpga: altera: Clean up the printing and debug

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 02:46:17 PM, Michal Simek wrote: > On 09/21/2014 03:11 PM, Marek Vasut wrote: > > Clean up the printf() statements and get rid of the PRINTF() > > macro by replacing it with debug_cond(). > > > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Dinh N

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-09-24 Thread Jagan Teki
On 5 September 2014 23:23, Tom Rini wrote: > On Fri, Sep 05, 2014 at 07:30:35PM +0200, Marek Vasut wrote: > > [snip] >> > It's easier to work with than fitImage. >> >> In which way? > > In most developer work flows at least zImage then uImage then fitImage > are the easiest to work with, in that o

Re: [U-Boot] [PATCH 1/2] mini2440: remove board support

2014-09-24 Thread Jagan Teki
I think this is recently been added, why this removed abruptly - any specific reason. On 14 January 2014 13:47, Albert ARIBAUD wrote: > Hi Minkyu, > > On Tue, 14 Jan 2014 09:51:48 +0900, Minkyu Kang > wrote: > >> On 14/01/14 05:06, Albert ARIBAUD wrote: >> > Signed-off-by: Albert ARIBAUD >> > -

Re: [U-Boot] [PATCH v3 13/25] spi: kirkwood_spi.c: Change KW_SPI_BASE to MVEBU_SPI_BASE

2014-09-24 Thread Jagan Teki
I have taken first 5 patches (spi) and Tom take the rest. On 2 September 2014 17:33, Stefan Roese wrote: > This makes is possible to use this SPI driver from other MVEBU SoC's as well. > As the upcoming Armada XP support will do. > > Signed-off-by: Stefan Roese > > Acked-by: Prafulla Wadaskar >

Re: [U-Boot] [PATCH 27/51] fpga: altera: Clean up the printing and debug

2014-09-24 Thread Michal Simek
On 09/21/2014 03:11 PM, Marek Vasut wrote: > Clean up the printf() statements and get rid of the PRINTF() > macro by replacing it with debug_cond(). > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Albert Aribaud > Cc: Tom Rini > Cc: Wolfgang Denk > Cc: Pavel Mache

[U-Boot] Pull request: u-boot-spi/master

2014-09-24 Thread Jagannadha Sutradharudu Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 47d3debe1ab8315dc9ade22279e02f60eceda25b: Merge git://git.denx.de/u-boot-dm (2014-09-23 15:21:43 -0400) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch changes

Re: [U-Boot] [UBOOT PATCH] f_thor: Dont perform reset at the end of thor

2014-09-24 Thread Michal Simek
On 09/05/2014 09:01 AM, Siva Durga Prasad Paladugu wrote: > Dont perform reset at the end of thor download > if configured to do reset off. > Reset may not be required in all cases and hence > provided an option to do so. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > drivers/usb/gadget/f

Re: [U-Boot] [UBOOT PATCH] ci_udc: Update the ci_udc driver to support bulk transfers

2014-09-24 Thread Michal Simek
On 09/05/2014 08:46 AM, Siva Durga Prasad Paladugu wrote: > Update the ci_udc driver to support bulk transfer > and also added capability of having multiple dtds > if requested data is more thank 16K. > These changes are tested for both the DFU and lthor. > > Signed-off-by: Siva Durga Prasad Palad

Re: [U-Boot] [UBOOT PATCH] usb: gadget: f_thor: Allocate request up to THOR_PACKET_SIZE

2014-09-24 Thread Michal Simek
On 09/05/2014 12:09 PM, Siva Durga Prasad Paladugu wrote: > Allocate request up to THOR_PACKET_SIZE not the ep0->maxpacket > as the descriptors data depend on the number of descriptors > and this 64 bytes were not enough and the buffer might overflow > which results in memalign failures later. > >

[U-Boot] [GIT] Pull request: u-boot-dfu

2014-09-24 Thread Lukasz Majewski
Hi Marek, The following changes since commit 68bc8b4f2946c3da06c2b05d4f4c7e594cb1fa48: usb: kbd: Allow "usb reset" to continue when an usb kbd is used (2014-09-21 12:26:19 +0200) are available in the git repository at: u-boot-denx-usb/master for you to fetch changes up to 772ca4fe05bf89

Re: [U-Boot] [PATCH v2] usb: gadget: fastboot: improve download progress bar

2014-09-24 Thread Lukasz Majewski
Hi Bo, > When download is ongoing, if the actual size of one transfer > is not the same as BTYES_PER_DOT, which will cause the dot > won't print anymore. Then it will let the user thinking it > is stuck, actually it is transfering without dot printed. > > So, improve the method to show the progre

[U-Boot] [PATCH v2 8/9] usb: kbd: Cache pipe, interval and packetsize

2014-09-24 Thread Hans de Goede
Instead of looking them up every time we need them. Signed-off-by: Hans de Goede --- common/usb_kbd.c | 34 +- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 253530a..a303d95 100644 --- a/common/usb_kbd.c

[U-Boot] [PATCH v2 9/9] usb: kbd: Add (optional) support for using an interrupt queue for polling

2014-09-24 Thread Hans de Goede
Waiting an interrupt packet to complete in usb_kbd_poll_for_event, causes a 40 ms latency for each call to usb_kbd_testc, which is undesirable. Using control messages leads to lower (but still not 0) latency, but some devices do not work well with control messages (e.g. my kvm behaves funny with t

[U-Boot] [PATCH v2 6/9] usb: kbd: Fix memleak on usb_kbd_deregister()

2014-09-24 Thread Hans de Goede
Free the keyboard hid-report buffer and private data on deregister. Signed-off-by: Hans de Goede --- common/usb_kbd.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index cb869ac..253530a 100644 --- a/common/usb_kbd.c +++

[U-Boot] [PATCH v2 5/9] usb: kbd: Remove unused usb_kbd_generic_poll function

2014-09-24 Thread Hans de Goede
This is not used anywhere, so lets remove it. Signed-off-by: Hans de Goede --- common/usb_kbd.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index fdc083c..cb869ac 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -116,3

[U-Boot] [PATCH v2 3/9] usb: ehci: Move cache invalidation to poll_int_queue

2014-09-24 Thread Hans de Goede
Preperation patch to use poll_int_queue outside of ehci-hcd.c . Signed-off-by: Hans de Goede --- drivers/usb/host/ehci-hcd.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index cf3e3c0..e527a7a 100644 ---

[U-Boot] [PATCH v2 4/9] usb: Make pollable int support available outside of ehci-hcd.c

2014-09-24 Thread Hans de Goede
Signed-off-by: Hans de Goede --- include/usb.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/usb.h b/include/usb.h index c355fbe..6b29aed 100644 --- a/include/usb.h +++ b/include/usb.h @@ -129,6 +129,8 @@ struct usb_device { unsigned int slot_id; }; +struct int_q

[U-Boot] [PATCH v2 0/9] Add a better USB keyboard polling method

2014-09-24 Thread Hans de Goede
Hi Marek, Here is v2 of my "Add a better USB keyboard polling method" patch-set. Changes in v2: -Added 2 new patches: usb: kbd: Fix memleak on usb_kbd_deregister() stdio: Fix memleak on stdio_deregister -Fixed use after free in: usb: kbd: Add (optional) support for using an interrupt queue for

[U-Boot] [PATCH v2 7/9] stdio: Fix memleak on stdio_deregister

2014-09-24 Thread Hans de Goede
stdio_register makes a malloc-ed copy of struct stdio_dev through stdio_clone, free the malloc-ed memory on stdio_deregister. Signed-off-by: Hans de Goede --- common/stdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/stdio.c b/common/stdio.c index 8232815..c3ccbf5 100644 --- a/co

[U-Boot] [PATCH v2 2/9] usb: ehci: Move interrupt packet length check to create_int_queue

2014-09-24 Thread Hans de Goede
Preperation patch to use create_int_queue outside of ehci-hcd.c . Signed-off-by: Hans de Goede --- drivers/usb/host/ehci-hcd.c | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c inde

[U-Boot] [PATCH v2 1/9] usb: ehci: Do not disable an already disabled periodic schedule

2014-09-24 Thread Hans de Goede
When periodic_schedules == 0, the schedule is disabled and there is no reason to disable it again. Signed-off-by: Hans de Goede --- drivers/usb/host/ehci-hcd.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c in

Re: [U-Boot] [PATCH] sandbox: Fix README to indicate that vendor name is unset

2014-09-24 Thread Jagan Teki
On 24 September 2014 00:35, Simon Glass wrote: > This brings in a additional small fix which was missed in a recent update > to the README. > > Suggested-by: Masahiro Yamada > Signed-off-by: Simon Glass > --- > > board/sandbox/README.sandbox | 4 ++-- > 1 file changed, 2 insertions(+), 2 deleti

Re: [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 01:03:11 PM, Nikolay Dimitrov wrote: > Hi Marek, > > On 9/24/2014 12:37 PM, Marek Vasut wrote: > > Also, can you please review the entire thing so I don't have to retest > > and resend the patch every day with one minor modification each time? > > Thanks Best re

Re: [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena

2014-09-24 Thread Nikolay Dimitrov
Hi Marek, On 9/24/2014 12:37 PM, Marek Vasut wrote: Also, can you please review the entire thing so I don't have to retest and resend the patch every day with one minor modification each time? Thanks Best regards, Marek Vasut Sorry about that :(. I definitely understand. Unfortunately it jus

Re: [U-Boot] [PATCH] mtd: nand: Fix length bug in ioread16_rep() and iowrite16_rep()

2014-09-24 Thread Stefan Roese
Hi Scott, Hi Tom, On 05.09.2014 10:06, Heiko Schocher wrote: The ioread16_rep() and iowrite16_rep() implementations are U-Boot specific and have been introduced with the Linux MTD v3.14 sync. While introducing these functions, the length for the loop has been miscalculated. The ">> 1" is alread

Re: [U-Boot] [PATCH 1/5] usb: ehci: mxs: Add board-specific callbacks

2014-09-24 Thread Marek Vasut
On Monday, April 28, 2014 at 03:38:39 AM, Marek Vasut wrote: > Add board-specific callbacks for enabling/disabling port power > into the MXS EHCI controller driver. This is in-line with the > names of callbacks on other systems. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic This series see

Re: [U-Boot] [PATCH 1/3] usb: dwc2: Add driver for Synopsis DWC2 USB IP block

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 05:31:26 AM, Stephen Warren wrote: > On 09/21/2014 07:13 AM, Marek Vasut wrote: > > From: Oleksandr Tymoshenko > > > > This is the USB host controller used on the Altera SoCFPGA and Raspbery > > Pi. > > > > This code has three checkpatch warnings, but to make

Re: [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 04:46:42 AM, Nikolay Dimitrov wrote: > Hi Marek, > > Following are some comments about FEC Ethernet: > > On 09/23/2014 01:18 PM, Marek Vasut wrote: > > +#define ENET_PAD_CTRL \ > > + (PAD_CTL_PKE | PAD_CTL_PUE |

Re: [U-Boot] [PATCH V4] ARM: mx6: Add support for Kosagi Novena

2014-09-24 Thread Marek Vasut
On Wednesday, September 24, 2014 at 01:57:50 AM, Nikolay Dimitrov wrote: > Hi Marek, > > Some comments about SPI: > > On 09/23/2014 01:18 PM, Marek Vasut wrote: > > +/* > > + * SPI > > + */ > > +#ifdef CONFIG_MXC_SPI > > +static iomux_v3_cfg_t ecspi1_pads[] = { > > + /* SS1 */ > > + MX6_PAD_E

Re: [U-Boot] [PATCH V3] ARM: mx6: Add support for Kosagi Novena

2014-09-24 Thread Nikolay Dimitrov
Hi Tim, On 09/24/2014 08:48 AM, Tim Harvey wrote: On Tue, Sep 23, 2014 at 4:42 PM, Nikolay Dimitrov wrote: Hi Marek, On 09/23/2014 12:47 PM, Marek Vasut wrote: On Monday, September 22, 2014 at 08:24:05 PM, Nikolay Dimitrov wrote: One more comment - isn't the file novena.o used also for th

[U-Boot] [PATCH 1/2] blackfin: spi: move spi max chip select to spi.h

2014-09-24 Thread Scott Jiang
This macro is only related to spi. So it's better to place it in spi.h. Signed-off-by: Scott Jiang --- arch/blackfin/include/asm/config-pre.h |3 --- arch/blackfin/include/asm/mach-common/bits/spi.h |1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/blackf

[U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-09-24 Thread Scott Jiang
SPI3 controller is not only used on BF609 platform. So we add a common controller driver and leave machine specific configuration in board drivers. Remove obsolete spi6xx.h and select new board driver in configuration file. Signed-off-by: Scott Jiang --- drivers/spi/Makefile

[U-Boot] [PATCH v2 08/10] ARM: sun6i: Setup the A31 UART0 muxing

2014-09-24 Thread Chen-Yu Tsai
From: Maxime Ripard Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: commit message was "ARM: sunxi: Setup the A31 UART0 muxing"] [w...@csie.org: reorder #ifs by SUN?I] [w...@csie.org: replace magic numbers with GPIO definitions] Signed-off-by: Chen-Yu Tsai --- arch/a

[U-Boot] [PATCH v2 06/10] ARM: sunxi-mmc: Add mmc support for sun6i / A31

2014-09-24 Thread Chen-Yu Tsai
From: Hans de Goede The mmc hardware on sun6i has an extra reset control that needs to be de-asserted prior to usage. Also the FIFO address is different. Signed-off-by: Hans de Goede [w...@csie.org: use setbits_le32 for reset control, drop obsolete changes, rewrite different FIF

[U-Boot] [PATCH v2 07/10] ARM: sun6i: Define UART0 pins for A31

2014-09-24 Thread Chen-Yu Tsai
UART0 is the default debug/console UART on the A31. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/gpio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h index f7f3d8c..ba7e69b 100644 --- a/a

[U-Boot] [PATCH v2 05/10] ARM: sun6i: Add clock support

2014-09-24 Thread Chen-Yu Tsai
This patch adds the basic clocks support for the Allwinner A31 (sun6i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches manageable. This includes changes from the following commits from u-boot-sunxi: a92051b ARM:

[U-Boot] [PATCH v2 10/10] ARM: sun6i: Add Colombus board defconfig

2014-09-24 Thread Chen-Yu Tsai
The Colombus board is an A31 evaluation board from WITS Technology. Signed-off-by: Chen-Yu Tsai --- configs/Colombus_defconfig | 4 1 file changed, 4 insertions(+) create mode 100644 configs/Colombus_defconfig diff --git a/configs/Colombus_defconfig b/configs/Colombus_defconfig new file m

[U-Boot] [PATCH v2 09/10] ARM: sunxi: Add basic A31 support

2014-09-24 Thread Chen-Yu Tsai
From: Maxime Ripard Add a new sun6i machine that supports UART and MMC. Signed-off-by: Maxime Ripard Signed-off-by: Hans de Goede [w...@csie.org: use SPDX labels, adapt to Kconfig system, drop ifdef around mmc and smp code, drop MACH_TYPE] Signed-off-by: Chen-Yu Tsai --- arch

[U-Boot] [PATCH v2 01/10] ARM: sunxi: Use macro values for setting UART GPIO pull-ups

2014-09-24 Thread Chen-Yu Tsai
We have already defined macros for pull-up/down values in the GPIO header. Use them instead of magic numbers when configuring the UART pins. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/arm

[U-Boot] [PATCH v2 03/10] ARM: sun6i: Add base address for the new controllers in A31

2014-09-24 Thread Chen-Yu Tsai
From: Oliver Schinagl A31 has several new and changed memory address. This patch adds them. Signed-off-by: Oliver Schinagl Signed-off-by: Hans de Goede Signed-off-by: Chen-Yu Tsai Acked-by: Ian Campbell --- arch/arm/include/asm/arch-sunxi/cpu.h | 9 + 1 file changed, 9 insertions(+)

[U-Boot] [PATCH v2 04/10] ARM: sun6i: Add support for the power reset control module found on the A31

2014-09-24 Thread Chen-Yu Tsai
From: Oliver Schinagl The A31 has a new module called PRCM, or Power, Reset Control Module. This module controls clocks and resets for RTC block modules, and also PLL biasing in the main clock module. This patch adds the register definitions, and also enables the clocks and resets for the RTC bl

Re: [U-Boot] [OT] Re: [PATCH 2/7] ls102xa: pblimage: Add pblimage tool support for LS102xA

2014-09-24 Thread Huan Wang
Hi, Albert, > On Mon, 22 Sep 2014 06:22:44 +, Huan Wang > wrote: > > > Hi, Albert, > > > > > On Thu, 18 Sep 2014 13:47:14 +0800, Alison Wang > > > > > > wrote: > > > > > > > @@ -111,6 +115,14 @@ static void pbl_parser(char *name) > > > > size_t len = 0; > > > > > > > > fname

[U-Boot] [PATCH v2 00/10] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

2014-09-24 Thread Chen-Yu Tsai
Hi everyone, This is v2 of the A31 support series. This series add basic (UART and MMC) support for Allwinner's A31 SoC. The patches, excluding the first one, were cherry-picked from u-boot-sunxi. Due to the difference between u-boot mainline and u-boot-sunxi, some patches were rearranged or squas

[U-Boot] [PATCH v2 02/10] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined

2014-09-24 Thread Chen-Yu Tsai
BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI. Signed-off-by: Chen-Yu Tsai Acked-by: Ian Campbell --- include/configs/sunxi-common.h | 8 ++

[U-Boot] [OT] Re: [PATCH 2/7] ls102xa: pblimage: Add pblimage tool support for LS102xA

2014-09-24 Thread Albert ARIBAUD
Hi Huan, On Mon, 22 Sep 2014 06:22:44 +, Huan Wang wrote: > Hi, Albert, > > > On Thu, 18 Sep 2014 13:47:14 +0800, Alison Wang > > wrote: > > > > > @@ -111,6 +115,14 @@ static void pbl_parser(char *name) > > > size_t len = 0; > > > > > > fname = name; > > > + > > > + if (strstr(fname,

[U-Boot] [PATCH] ARM: atmel: switch at91sam9263ek to generic board

2014-09-24 Thread Bo Shen
Signed-off-by: Bo Shen --- include/configs/at91sam9263ek.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/at91sam9263ek.h b/include/configs/at91sam9263ek.h index 48c12ea..b666d94 100644 --- a/include/configs/at91sam9263ek.h +++ b/include/configs/at91sam9263ek.h @@ -48,6 +4

Re: [U-Boot] [PATCH 1/3] arm: make .vectors section allocatable

2014-09-24 Thread Albert ARIBAUD
Hi Georges, On Sun, 21 Sep 2014 23:33:48 +0200, Georges Savoundararadj wrote: > Before the commit 41623c91, the exception vector was in a .text > section which is allocatable. After this, the .vectors section was > introduced to contain the exception vector without specifying it as a > .text sec

Re: [U-Boot] [PATCH 0/3] arm: add interrupt support

2014-09-24 Thread Albert ARIBAUD
Hi Georges, On Sun, 21 Sep 2014 23:33:47 +0200, Georges Savoundararadj wrote: > Hi folks, > > I wanted to use interrupt on U-Boot on my Raspberry Pi but I have > found that it did not work properly. > > My patches intend to make interrupt work. > > Regards, > > Georges Could you please make

Re: [U-Boot] [PATCH 0/3] arm: add interrupt support

2014-09-24 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 23 Sep 2014 12:17:28 +0900, Masahiro YAMADA wrote: > Hi Georges, > > 2014-09-23 3:24 GMT+09:00 Georges Savoundararadj : > > Le 22/09/2014 03:35, Masahiro Yamada a écrit : > >> > >> On Sun, 21 Sep 2014 23:33:47 +0200 > >> Georges Savoundararadj wrote: > >> > >>> Hi folks, >