Re: [U-Boot] [PATCH v2 0/8] arm: Tidy up early init

2015-09-01 Thread Michal Simek
Hi Simon, On 08/28/2015 10:50 PM, Simon Glass wrote: > This series collects the previous RFT patches I sent out. > > https://patchwork.ozlabs.org/patch/508167/ > https://patchwork.ozlabs.org/patch/508168/ > > It turns out that I originally sent a version of these in April: > >

Re: [U-Boot] [PATCH] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 11:13:38 AM, Chin Liang See wrote: > On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > > On Tuesday, September 01, 2015 at 10:46:47 AM, Chin Liang See wrote: > > > Ensuring spi_calibration is run when there is a change of sclk > > > frequency. This will

Re: [U-Boot] [PATCH v4 07/16] dts: zc770-xm010: Enable zynq qspi controller node

2015-09-01 Thread Michal Simek
On 09/01/2015 10:43 AM, Jagan Teki wrote: > On 1 September 2015 at 13:52, Michal Simek wrote: >> On 09/01/2015 08:11 AM, Jagan Teki wrote: >>> Enabled zynq qspi controller node for zc770-xm010 board. >>> >>> => sf probe 0 -- bus0 for selecting spi controller >>> => sf

[U-Boot] [PATCH] net: change the env name to use const

2015-09-01 Thread Josh Wu
As we don't modify the 'name' parameter, so change it to const. Signed-off-by: Josh Wu --- include/net.h | 4 ++-- net/eth.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/net.h b/include/net.h index d09bec9..133fee4 100644 ---

[U-Boot] [PATCH v2 2/2] usb: zynqmp: Enable USB XHCI support

2015-09-01 Thread Siva Durga Prasad Paladugu
Enable USB XHCI support for ZynqMP Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - None --- include/configs/xilinx_zynqmp.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/xilinx_zynqmp.h

[U-Boot] [PATCH v2 1/2] usb: zynqmp: Add XHCI driver support

2015-09-01 Thread Siva Durga Prasad Paladugu
Added USB XHCI driver support for zynqmp. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - Moved all from xhci-zynqmp.h to .c file as per review comment - Removed ad-hoc function zynqmp_xhci_core_exit() as per review comment --- drivers/usb/host/Makefile

Re: [U-Boot] [PATCH] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-01 Thread Chin Liang See
On Tue, 2015-09-01 at 10:30 +0200, ma...@denx.de wrote: > On Tuesday, September 01, 2015 at 06:54:14 AM, Chin Liang See wrote: > > On Mon, 2015-08-31 at 14:57 -0500, dingu...@opensource.altera.com wrote: > > > From: Dinh Nguyen > > > > > > Add support for the

Re: [U-Boot] [PATCH 10/13] sunxi: Make the fastboot buffer larger

2015-09-01 Thread Maxime Ripard
Hi Ian, On Tue, Sep 01, 2015 at 08:22:04AM +0100, Ian Campbell wrote: > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote: > > When using fastboot and flashing a larger image such as the main partition > > of a system, the current 32MB limit for the buffer is quite small. > > (Apart from

[U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Jian Luo
Hi! I've read about an implementation requirement regarding the usage of FPGA/HPS SDRAM bridge. (Link and Text attached at the end.) The 3. step involves writing the APPLYCFG bit in the STATICCFG register while the SDRAM interface is completely IDLE. IMHO, it's only possible in SPL stage

Re: [U-Boot] [PATCH] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 06:54:14 AM, Chin Liang See wrote: > On Mon, 2015-08-31 at 14:57 -0500, dingu...@opensource.altera.com wrote: > > From: Dinh Nguyen > > > > Add support for the Terasic DE0-Nano/Atlas-SoC Kit, which is a CycloneV > > based board.

[U-Boot] [PATCH] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-01 Thread Chin Liang See
Ensuring spi_calibration is run when there is a change of sclk frequency. This will ensure the qspi flash access works for high sclk frequency Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Marek Vasut Cc: Stefan Roese

Re: [U-Boot] [PATCH] sunxi_nand_spl: Be smarter about where to look for backup u-boot.bin

2015-09-01 Thread Hans de Goede
Hi, On 01-09-15 09:05, Ian Campbell wrote: On Mon, 2015-08-31 at 17:42 +0200, Hans de Goede wrote: We know when u-boot is written to its own partition, in this case the layout always is: eb 0 spl eb 1 spl-backup eb 2 u-boot eb 3 u-boot-backup eb: erase-block These are all the same size on

Re: [U-Boot] [PATCH 11/13] sunxi: Add support for android boot image

2015-09-01 Thread Paul Kocialkowski
Le mardi 01 septembre 2015 à 08:08 +0100, Ian Campbell a écrit : > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote: > > When using the fastboot boot command, the image sent to U-Boot will be an > > Android boot image. If the support is missing, that won't obviously work, > > so we need it

Re: [U-Boot] [PATCH] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-01 Thread Chin Liang See
On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > On Tuesday, September 01, 2015 at 10:46:47 AM, Chin Liang See wrote: > > Ensuring spi_calibration is run when there is a change of sclk > > frequency. This will ensure the qspi flash access works for high > > sclk frequency > > > >

Re: [U-Boot] [PATCH] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 11:30:59 AM, Chin Liang See wrote: > On Tue, 2015-09-01 at 11:19 +0200, ma...@denx.de wrote: > > On Tuesday, September 01, 2015 at 11:13:38 AM, Chin Liang See wrote: > > > On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > > > > On Tuesday, September 01,

Re: [U-Boot] [PATCH 8/8] x86: quark: Optimize MRC execution time

2015-09-01 Thread Bin Meng
Hi Simon, On Tue, Sep 1, 2015 at 11:22 AM, Bin Meng wrote: > Hi Simon, > > On Tue, Sep 1, 2015 at 11:12 AM, Simon Glass wrote: >> Hi Bin, >> >> On 31 August 2015 at 21:04, Bin Meng wrote: >>> Hi Simon, >>> >>> On Tue, Sep 1, 2015 at

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-01 Thread Chin Liang See
On Wed, 2015-08-26 at 01:54 -0500, Chin Liang See wrote: > On Wed, 2015-08-26 at 15:14 +0900, Jaehoon Chung wrote: > > On 08/26/2015 02:47 PM, Chin Liang See wrote: > > > On Wed, 2015-08-26 at 14:29 +0900, Jaehoon Chung wrote: > > >> Hi, > > >> > > >> On 08/25/2015 12:08 PM, Chin Liang See wrote:

Re: [U-Boot] [PATCH 10/13] sunxi: Make the fastboot buffer larger

2015-09-01 Thread Hans de Goede
Hi, On 01-09-15 09:05, Maxime Ripard wrote: Hi, On Mon, Aug 31, 2015 at 05:01:42PM +0200, Hans de Goede wrote: On 31-08-15 16:46, Maxime Ripard wrote: When using fastboot and flashing a larger image such as the main partition of a system, the current 32MB limit for the buffer is quite small.

Re: [U-Boot] [PATCH 12/13] sunxi: A13-Olinuxino: Enable the USB OTG controller

2015-09-01 Thread Hans de Goede
Hi, On 31-08-15 16:46, Maxime Ripard wrote: The A13-Olinuxino has a mini-USB connector that can be used to power up the board and as an OTG connector. Since we have already some USB host-only ports right beside this one, enable it in gadget mode Signed-off-by: Maxime Ripard

[U-Boot] [PATCH V2] imx: vf610 add get_cpu_rev

2015-09-01 Thread Peng Fan
Since we need to support runtime check for different drivers, we need to add get_cpu_rev for vf610, otherwise there will be build errors. This patch introduces a dummy CPU id which is not read from chip silicon. Later when we can get the real id from chip, can fix the value of MXC_CPU_VF610 then.

Re: [U-Boot] [PATCH] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-01 Thread Chin Liang See
On Tue, 2015-09-01 at 11:19 +0200, ma...@denx.de wrote: > On Tuesday, September 01, 2015 at 11:13:38 AM, Chin Liang See wrote: > > On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > > > On Tuesday, September 01, 2015 at 10:46:47 AM, Chin Liang See wrote: > > > > Ensuring spi_calibration is

[U-Boot] dm gpio

2015-09-01 Thread Bin Meng
Hi Simon, I have the following codes to control a gpio pin in my board codes: void board_assert_perst(void) { gpio_request(32, "PERST"); gpio_direction_output(32, 0); } But when I read , I found these two apis are deprecated. Instead it suggests we should use corresponding dm gpio apis

Re: [U-Boot] [PATCH 10/13] sunxi: Make the fastboot buffer larger

2015-09-01 Thread Maxime Ripard
On Tue, Sep 01, 2015 at 10:44:58AM +0300, Siarhei Siamashka wrote: > On Tue, 01 Sep 2015 08:22:04 +0100 > Ian Campbell wrote: > > > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote: > > > When using fastboot and flashing a larger image such as the main partition > > >

Re: [U-Boot] [PATCH v2 7/8] zynq: Move SPL console init out of board_init_f()

2015-09-01 Thread Michal Simek
On 08/28/2015 10:50 PM, Simon Glass wrote: > We should not init the console this early and there is no need to. If we want > to do early init it can be done in spl_board_init(). Move the > preloader_console_init() call from board_init_f() to board_init_r(). > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 6/8] microblaze: Add a TODO to call board_init_f_mem()

2015-09-01 Thread Michal Simek
On 08/28/2015 10:50 PM, Simon Glass wrote: > This C function should be used to do the early memory layout and init. This > is beyond my powers, so just add a TODO for the maintainer. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > >

[U-Boot] DM: Problem with DT bus translation dev_get_addr()

2015-09-01 Thread Stefan Roese
Hi Simon, I'm currently enabling DM support for the Marvell MVEBU SoC's I've been working lately on (Armada XP and 38x right now). A problem I'm facing here is the bus translation, as this is quite complex for these SoC's. With multiple levels of translation ranges (multiple simple-bus nodes to

Re: [U-Boot] [PATCH v4 10/16] zynq-common: Enable zynq qspi controller support

2015-09-01 Thread Michal Simek
On 09/01/2015 08:11 AM, Jagan Teki wrote: > This patch adds support for zynq qspi controller driver > on zynq-common.h > > Signed-off-by: Jagan Teki > Cc: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu

Re: [U-Boot] [PATCH v4 07/16] dts: zc770-xm010: Enable zynq qspi controller node

2015-09-01 Thread Jagan Teki
On 1 September 2015 at 13:52, Michal Simek wrote: > On 09/01/2015 08:11 AM, Jagan Teki wrote: >> Enabled zynq qspi controller node for zc770-xm010 board. >> >> => sf probe 0 -- bus0 for selecting spi controller >> => sf probe 1 -- bus1 for selecting qspi controller >> >>

Re: [U-Boot] [PATCH v4 00/16] spi: zynq qspi support

2015-09-01 Thread Michal Simek
On 09/01/2015 08:14 AM, Jagan Teki wrote: > Hi Michal/Siva, > > On 1 September 2015 at 11:41, Jagan Teki wrote: >> These are the previous version patches- >> https://patchwork.ozlabs.org/patch/302945/ >> https://patchwork.ozlabs.org/patch/264440/ >> >> This series adds zynq

Re: [U-Boot] [PATCH v4 13/16] spi: Kconfig: Add Zynq QSPI controller entry

2015-09-01 Thread Michal Simek
On 09/01/2015 08:11 AM, Jagan Teki wrote: > Add Zynq QSPI controller Kconfig entry. > > Signed-off-by: Jagan Teki > Reviewed-by: Simon Glass > Cc: Michal Simek > Cc: Siva Durga Prasad Paladugu > --- >

Re: [U-Boot] [PATCH v4 00/16] spi: zynq qspi support

2015-09-01 Thread Jagan Teki
Hi Michal/Siva, On 1 September 2015 at 11:41, Jagan Teki wrote: > These are the previous version patches- > https://patchwork.ozlabs.org/patch/302945/ > https://patchwork.ozlabs.org/patch/264440/ > > This series adds zynq qspi controller driver in driver model and > enabled

Re: [U-Boot] [PATCH v4 07/16] dts: zc770-xm010: Enable zynq qspi controller node

2015-09-01 Thread Michal Simek
On 09/01/2015 08:11 AM, Jagan Teki wrote: > Enabled zynq qspi controller node for zc770-xm010 board. > > => sf probe 0 -- bus0 for selecting spi controller > => sf probe 1 -- bus1 for selecting qspi controller > > Signed-off-by: Jagan Teki > Cc: Simon Glass

Re: [U-Boot] [PATCH] imx: vf610 add function get_cpu_rev

2015-09-01 Thread Stefano Babic
Hi Peng, On 01/09/2015 08:30, Peng Fan wrote: > > I not have vf610 board in hand and need to check with others about this. ok > Not sure when I can get the result. So now for quick fix, using your way with > your Suggested-by. Later, if I can get the results, can use another > patch to fix

Re: [U-Boot] [PATCH] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-01 Thread Chin Liang See
On Tue, 2015-09-01 at 04:13 -0500, Chin Liang See wrote: > On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > > On Tuesday, September 01, 2015 at 10:46:47 AM, Chin Liang See wrote: > > > Ensuring spi_calibration is run when there is a change of sclk > > > frequency. This will ensure the

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-01 Thread Jaehoon Chung
On 09/01/2015 06:10 PM, Chin Liang See wrote: > On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: >> On Tuesday, September 01, 2015 at 10:54:06 AM, Chin Liang See wrote: >>> On Wed, 2015-08-26 at 01:54 -0500, Chin Liang See wrote: On Wed, 2015-08-26 at 15:14 +0900, Jaehoon Chung wrote:

Re: [U-Boot] [PATCH V2] mxc: ocotp fix hole in shadow registers

2015-09-01 Thread Stefano Babic
Hi Peng, On 01/09/2015 08:22, Peng Fan wrote: > Sorry, it is not. It lokks like this breaks mx6 boards. Can you take a look, please ? >>> >>> The is_cpu_type only effects on mx6. >>> >>> I applied this following patch: >>> https://patchwork.ozlabs.org/patch/512669/ >>> >>>

Re: [U-Boot] [PATCH] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 06:56:30 AM, Chin Liang See wrote: > On Mon, 2015-08-31 at 17:27 +, ma...@denx.de wrote: > > On Monday, August 31, 2015 at 09:57:05 PM, dingu...@opensource.altera.com wrote: > > > From: Dinh Nguyen > > > > > > Add support for

Re: [U-Boot] [PATCH] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 09:38:23 AM, Pavel Machek wrote: > On Tue 2015-09-01 00:23:49, Marek Vasut wrote: > > On Monday, August 31, 2015 at 09:57:05 PM, dingu...@opensource.altera.com wrote: > > > From: Dinh Nguyen > > > > > > Add support for the

Re: [U-Boot] [PATCH v2 8/8] Revert "ARM: zynq: disable CONFIG_SYS_MALLOC_F to fix MMC boot"

2015-09-01 Thread Michal Simek
On 08/28/2015 10:50 PM, Simon Glass wrote: > This reverts commit 321f86e18d6aae9f7b7ba3ef1eb0cec769481874. > > The original bug has been fixed. > > Signed-off-by: Simon Glass > Tested-on: Zedboard and ZC706 board > Tested-by: Masahiro Yamada >

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 10:54:06 AM, Chin Liang See wrote: > On Wed, 2015-08-26 at 01:54 -0500, Chin Liang See wrote: > > On Wed, 2015-08-26 at 15:14 +0900, Jaehoon Chung wrote: > > > On 08/26/2015 02:47 PM, Chin Liang See wrote: > > > > On Wed, 2015-08-26 at 14:29 +0900, Jaehoon Chung

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 10:41:31 AM, Jian Luo wrote: > Hi! Hi, > I've read about an implementation requirement regarding the usage of > FPGA/HPS SDRAM bridge. > (Link and Text attached at the end.) > > The 3. step involves writing the APPLYCFG bit in the STATICCFG register > while the

Re: [U-Boot] [PATCH] spi: cadence_qspi: Ensure spi_calibration is run when sclk change

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 10:46:47 AM, Chin Liang See wrote: > Ensuring spi_calibration is run when there is a change of sclk > frequency. This will ensure the qspi flash access works for high > sclk frequency > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-01 Thread Chin Liang See
On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: > On Tuesday, September 01, 2015 at 10:54:06 AM, Chin Liang See wrote: > > On Wed, 2015-08-26 at 01:54 -0500, Chin Liang See wrote: > > > On Wed, 2015-08-26 at 15:14 +0900, Jaehoon Chung wrote: > > > > On 08/26/2015 02:47 PM, Chin Liang See

Re: [U-Boot] [PATCH 11/13] sunxi: Add support for android boot image

2015-09-01 Thread Ian Campbell
On Tue, 2015-09-01 at 11:00 +0200, Paul Kocialkowski wrote: > Le mardi 01 septembre 2015 à 08:08 +0100, Ian Campbell a écrit : > > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote: > > > When using the fastboot boot command, the image sent to U-Boot will > > > be an > > > Android boot

Re: [U-Boot] [PATCH v2 1/4] ubifs: Modify ubifs u-boot wrapper function prototypes for generic fs use

2015-09-01 Thread Heiko Schocher
Hello Hans, Am 01.09.2015 um 05:46 schrieb Heiko Schocher: Hello Hans, Am 31.08.2015 um 18:08 schrieb Hans de Goede: Hi, On 28-08-15 16:52, Tom Rini wrote: On Tue, Aug 25, 2015 at 01:32:05PM +0200, Hans de Goede wrote: Hi, On 25-08-15 13:00, Heiko Schocher wrote: Hello Hans, Am

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 01:19:09 PM, Lukasz Majewski wrote: > Hi Marek, Hi! > > On Saturday, August 29, 2015 at 06:38:48 PM, Lukasz Majewski wrote: > > > Hi Marek, > > > > Hi Lukasz, > > > > > > On Saturday, August 29, 2015 at 01:55:36 PM, Lukasz Majewski > > > > > > > > wrote: > >

Re: [U-Boot] [PATCH v2 1/2] usb: zynqmp: Add XHCI driver support

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 12:31:02 PM, Siva Durga Prasad Paladugu wrote: > Added USB XHCI driver support for zynqmp. > > Signed-off-by: Siva Durga Prasad Paladugu Hi, looks almost good, a few minor nits though ... [...] > +unsigned long ctr_addr[] =

Re: [U-Boot] [PATCH v2 2/2] usb: zynqmp: Enable USB XHCI support

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 12:31:03 PM, Siva Durga Prasad Paladugu wrote: > Enable USB XHCI support for ZynqMP > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes for v2: > - None > --- > include/configs/xilinx_zynqmp.h |8 > 1 files changed, 8

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Jian Luo
** Hi Marek, On 01.09.2015 11:03, Marek Vasut wrote: On Tuesday, September 01, 2015 at 10:41:31 AM, Jian Luo wrote: Hi! Hi, I've read about an implementation requirement regarding the usage of FPGA/HPS SDRAM bridge. (Link and Text attached at the end.) The 3. step involves writing the

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 01:49:43 PM, Jian Luo wrote: > ** > Hi Marek, Hi! > On 01.09.2015 11:03, Marek Vasut wrote: > > On Tuesday, September 01, 2015 at 10:41:31 AM, Jian Luo wrote: > >> Hi! > > > > Hi, > > > >> I've read about an implementation requirement regarding the usage of >

Re: [U-Boot] [PATCH] dts: Add a comment about CONFIG_OF_EMBED being for local use

2015-09-01 Thread Michal Simek
On 09/01/2015 02:47 AM, Simon Glass wrote: > This comment from README.fdt-control did not end up in the Kconfig, which > is what most people will see. Add it with a few tweaks. > > Signed-off-by: Simon Glass > --- > > dts/Kconfig | 4 +++- > 1 file changed, 3 insertions(+),

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-01 Thread Lukasz Majewski
Hi Marek, > On Saturday, August 29, 2015 at 06:38:48 PM, Lukasz Majewski wrote: > > Hi Marek, > > Hi Lukasz, > > > > On Saturday, August 29, 2015 at 01:55:36 PM, Lukasz Majewski > > > wrote: > > > > On Fri, 28 Aug 2015 23:55:17 +0200 > > > > > > Hi! > > > > > > > Marek Vasut

Re: [U-Boot] arm: socfpga: Question about FPGA/HPS SDRAM Bridge

2015-09-01 Thread Jian Luo
Hi Marek, On 01.09.2015 14:03, Marek Vasut wrote: > On Tuesday, September 01, 2015 at 01:49:43 PM, Jian Luo wrote: snip >> What about calling socfpga_sdram_apply_static_cfg() direct in >> socfpga_load() in drivers/fpga/socfpga.c to make it generic? > > Which code exactly do you refer to

Re: [U-Boot] [PATCH v2 1/2] usb: zynqmp: Add XHCI driver support

2015-09-01 Thread Siva Durga Prasad Paladugu
HI Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Tuesday, September 01, 2015 5:09 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Siva Durga Prasad Paladugu; mon...@monstr.eu > Subject: Re: [PATCH v2 1/2] usb: zynqmp: Add XHCI driver

Re: [U-Boot] [PATCH 11/13] sunxi: Add support for android boot image

2015-09-01 Thread Maxime Ripard
On Tue, Sep 01, 2015 at 11:46:05AM +0100, Ian Campbell wrote: > On Tue, 2015-09-01 at 11:00 +0200, Paul Kocialkowski wrote: > > Le mardi 01 septembre 2015 à 08:08 +0100, Ian Campbell a écrit : > > > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote: > > > > When using the fastboot boot

Re: [U-Boot] [PATCH 11/13] sunxi: Add support for android boot image

2015-09-01 Thread Maxime Ripard
On Tue, Sep 01, 2015 at 11:00:53AM +0200, Paul Kocialkowski wrote: > Le mardi 01 septembre 2015 à 08:08 +0100, Ian Campbell a écrit : > > On Mon, 2015-08-31 at 16:46 +0200, Maxime Ripard wrote: > > > When using the fastboot boot command, the image sent to U-Boot will be an > > > Android boot

[U-Boot] [PATCH v2 2/2] fdt_support: Don't panic if stdout alias is missing

2015-09-01 Thread Scott Wood
Currently, using fdt_fixup_stdout() on a device tree that is missing the relevant alias results in this: WARNING: could not set linux,stdout-path FDT_ERR_NOTFOUND. ERROR: /chosen node create failed - must RESET the board to recover. FDT creation failed! hanging...### ERROR ### Please RESET the

Re: [U-Boot] [PATCH V2 1/4] drivers: Introduce a simplified remoteproc framework

2015-09-01 Thread Simon Glass
Hi Nishanth, On 27 August 2015 at 22:07, Nishanth Menon wrote: > Many System on Chip(SoC) solutions are complex with multiple processors > on the same die dedicated to either general purpose of specialized > functions. Many examples do exist in today's SoCs from various vendors. >

Re: [U-Boot] [PATCH V2 4/4] test: Add basic tests for remoteproc

2015-09-01 Thread Simon Glass
On 27 August 2015 at 22:07, Nishanth Menon wrote: > Use the sandbox environment for the basic tests. > > Signed-off-by: Nishanth Menon > --- > New patch. > > test/dm/Makefile | 1 + > test/dm/remoteproc.c | 67 >

Re: [U-Boot] [PATCH V2 3/4] sandbox: Introduce dummy remoteproc nodes

2015-09-01 Thread Simon Glass
On 27 August 2015 at 22:07, Nishanth Menon wrote: > Introduce dummy devices for sandbox remoteproc device and enable it by > default > > Signed-off-by: Nishanth Menon > --- > > Changes in V2: > - review comments incorporated from V1. > > V1:

Re: [U-Boot] [PATCH V2 2/4] remoteproc: Introduce a sandbox dummy driver

2015-09-01 Thread Simon Glass
Hi Nishanth, On 27 August 2015 at 22:07, Nishanth Menon wrote: > Introduce a dummy driver for sandbox that allows us to verify basic > functionality. This is not meant to do anything functional - but is > more or less meant as a framework plumbing debug helper. > > The sandbox

[U-Boot] [PATCH v1] common: Fix load and entry addresses in FIT image

2015-09-01 Thread York Sun
FIT image supports more than 32 bits in addresses by using #address-cell field. However the address length is not handled when parsing FIT images. Beside, the variable used to host address has "ulong" type. It is OK for the target, but not always enough for host tools such as mkimage. This patch

Re: [U-Boot] [PATCH 01/15] pinctrl: uniphier: add UniPhier pinctrl core support

2015-09-01 Thread Simon Glass
Hi Masahiro, On 1 September 2015 at 21:30, Masahiro Yamada wrote: > 2015-09-02 11:48 GMT+09:00 Simon Glass : > >>> diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier.h >>> b/drivers/pinctrl/uniphier/pinctrl-uniphier.h >>> new file mode

[U-Boot] [PATCH 01/13] imx: arch-mx6: add is_soc_type helper macro

2015-09-01 Thread Adrian Alonso
Add helper macro is_soc_type to identify iMX SoC family Signed-off-by: Adrian Alonso --- Changes for V2: Rework for common sys_proto header file arch/arm/include/asm/arch-imx/cpu.h | 2 ++ arch/arm/include/asm/imx-common/sys_proto.h | 3 +++ 2 files changed, 5

[U-Boot] [PATCH 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-01 Thread Adrian Alonso
* Add i.MX7D SABRESD target board support with enabled modules: UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX. Build target: mx7dsabresd_config Signed-off-by: Peng Fan Signed-off-by: Fugang Duan Signed-off-by: Ye.Li

[U-Boot] [PATCH 03/13] arm: imx: common rework cache settings for imx6

2015-09-01 Thread Adrian Alonso
Rework cache settings for imx6, move cache configuration to imx-common/cache.c so it can be reused for newer SoC Signed-off-by: Adrian Alonso --- Changes for V2: Resend arch/arm/cpu/armv7/mx6/soc.c | 95 ---

[U-Boot] [PATCH 10/13] arm: imx-common: init: rework wdog settings for imx6/imx7

2015-09-01 Thread Adrian Alonso
Rework imx_set_wdog_powerdown to be reused by imx6 and imx7 Signed-off-by: Adrian Alonso --- Changes for V2: Rework for common sys_proto header file arch/arm/cpu/armv7/mx6/soc.c| 14 -- arch/arm/imx-common/init.c | 21

[U-Boot] [PATCH 12/13] imx: imx7d: add imx-common cpu support for imx7d

2015-09-01 Thread Adrian Alonso
Add imx-common cpu support for imx7d SoC - Update reset_cause for imx7d - Enable watchdog driver built for imx7d Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: Split patch to easier review process - Add system arch

[U-Boot] [PATCH 09/13] arm: imx-common: init: extend init_aips to support imx7

2015-09-01 Thread Adrian Alonso
Extend init_aips to support imx7 SoC, use is_soc_type and is_cpu_type to resolve at run time aips3 settings Signed-off-by: Adrian Alonso --- Changes for V2: Resend arch/arm/imx-common/init.c | 44 1 file changed, 20

Re: [U-Boot] [PATCH v2 1/2] usb: zynqmp: Add XHCI driver support

2015-09-01 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Tuesday, September 01, 2015 7:28 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; mon...@monstr.eu > Subject: Re: [PATCH v2 1/2] usb: zynqmp: Add XHCI driver support > > On Tuesday, September 01,

Re: [U-Boot] [PATCH 00/45] arm: Remove boards that have not moved to generic board init

2015-09-01 Thread Masahiro Yamada
Hi Simon, 2015-08-31 10:18 GMT+09:00 Simon Glass : > The follow boards have still not been moved to use CONFIG_SYS_GENERIC_BOARD. > This series removes these boards in preparation for dropping the old board > init file arch/arm/lib/board.c: > >

Re: [U-Boot] [PATCH 11/13] arm: zynq: dts: Add U-Boot device tree additions

2015-09-01 Thread Masahiro Yamada
Hi. 2015-09-02 0:41 GMT+09:00 Michal Simek : >>> > Why not just add one more uboot property to chosen with list of IPs > which needs to be relocated? You mean a list of devices needed before relocation? >>> >>> I mean something like this: >>> >>> chosen

[U-Boot] [PATCH 07/13] imx: imx7d: clock control module support

2015-09-01 Thread Adrian Alonso
* Add Clock control module (CCM) support * iMX7D SoC introduces 3 main clock sysmtem abstraction for clock root frequency generation denominated clock slices. Core clock slice: hihg speed clock for ARM core Bus clock slice: for bus clocks IP clock slice: Peripheral clocks * At system boot

[U-Boot] [PATCH 08/13] imx: imx7d: Add SoC system support

2015-09-01 Thread Adrian Alonso
Add imx7d basic SoC system support Misc arch dependent functions for system bring up Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- Changes for V2: Split from patch imx: imx7d: initial arch

[U-Boot] [PATCH 05/13] imx: system counter driver for imx7d and mx6ul

2015-09-01 Thread Adrian Alonso
Add system counter driver for imx7d and mx6ul imx7 and imx6ul supports system counter timer as well as GPT timer (arch/arm/imx-common/timer.c); The default for imx7 is systemcounter timer. Signed-off-by: Ye.Li Signed-off-by: Adrian Alonso --- Changes

[U-Boot] [PATCH 04/13] arm: imx: imx-common: init: move arch init common setup

2015-09-01 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso --- Changes for V2: Resend arch/arm/cpu/armv7/mx6/soc.c| 87

[U-Boot] [PATCH 02/13] thermal: imx_thermal: rework driver to be reused

2015-09-01 Thread Adrian Alonso
Rework imx_thermal driver to be used across i.MX processor that support thermal sensor Signed-off-by: Adrian Alonso Signed-off-by: Peng Fan --- Changes for V2: Rename read_cpu_temperature to read_cpu_temperature_mx6 use is_soc_type macro to

[U-Boot] [PATCH 11/13] thermal: imx: add imx7d soc thermal support

2015-09-01 Thread Adrian Alonso
Add imx7 SoC thermal driver support Signed-off-by: Adrian Alonso --- Changes for V2: Fix build error for missin macro check ;P Changes for V3: Resend drivers/thermal/imx_thermal.c | 90 --- 1 file changed, 84 insertions(+), 6

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-01 Thread Pantelis Antoniou
Hi Marek, > On Aug 29, 2015, at 22:19 , Marek Vasut wrote: > > On Saturday, August 29, 2015 at 06:38:48 PM, Lukasz Majewski wrote: >> Hi Marek, > > Hi Lukasz, > >>> On Saturday, August 29, 2015 at 01:55:36 PM, Lukasz Majewski wrote: On Fri, 28 Aug 2015 23:55:17 +0200 >>>

Re: [U-Boot] DM: Problem with DT bus translation dev_get_addr()

2015-09-01 Thread Stefan Roese
Hi Simon, On 01.09.2015 08:25, Stefan Roese wrote: I'm currently enabling DM support for the Marvell MVEBU SoC's I've been working lately on (Armada XP and 38x right now). A problem I'm facing here is the bus translation, as this is quite complex for these SoC's. With multiple levels of

Re: [U-Boot] DM: Problem with DT bus translation dev_get_addr()

2015-09-01 Thread Stefan Roese
Hi Simon, On 01.09.2015 17:30, Simon Glass wrote: So my main question is, why don't you use fdt_translate_address() from fdt_support.c instead of implementing your own translation function simple_bus_translate()? Is this a size question because this may be used in SPL as well? The attached

Re: [U-Boot] [PATCH 19/19] powerpc: mpc86xx: remove sbc8641d support

2015-09-01 Thread Paul Gortmaker
On 2015-09-01 09:28 AM, Masahiro Yamada wrote: > This has not been converted to Generic Board, so should be removed. > (See doc/README.generic-board for details.) > > Signed-off-by: Masahiro Yamada > Cc: Paul Gortmaker NACK. I've

[U-Boot] marvell: problems reading ddr spd

2015-09-01 Thread Stas Sergeev
Hello. It seems u-boot uses wrong i2c address to read SPD on armada-xp. Namely, http://git.denx.de/?p=u-boot.git;a=blob;f=drivers/ddr/marvell/axp/ddr3_axp.h;h=d9e33f7c6e25602726d7c8fa077439037862d511;hb=HEAD 39 #define BUS_WIDTH_ECC_TWSI_ADDR 0x4E 40 #else 41 #define

[U-Boot] [PATCH] ea20: Convert to generic board

2015-09-01 Thread Stefano Babic
Boards need to select CONFIG_SYS_GENERIC_BOARD in order to prevent removal from the project. Signed-off-by: Stefano Babic --- include/configs/ea20.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ea20.h b/include/configs/ea20.h index b9f28a3..3602fe1

Re: [U-Boot] [PATCH V2] imx: vf610 add get_cpu_rev

2015-09-01 Thread Stefano Babic
Hi Peng, On 01/09/2015 11:15, Peng Fan wrote: > Since we need to support runtime check for different drivers, we need > to add get_cpu_rev for vf610, otherwise there will be build errors. > > This patch introduces a dummy CPU id which is not read from chip > silicon. Later when we can get the

Re: [U-Boot] [PATCH 00/19] Janitorial: powerpc: remove PowerPC non-generic boards

2015-09-01 Thread Tom Rini
On Tue, Sep 01, 2015 at 08:47:41AM -0500, York Sun wrote: > > > On 09/01/2015 08:28 AM, Masahiro Yamada wrote: > > I sent the RFC version two weeks ago > > to announce the final call for PowerPC unmaintained boards. > > > > Some were converted to Generic Board, and some were not. > > > > This

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-09-01 Thread Dinh Nguyen
On 09/01/2015 05:12 AM, Jaehoon Chung wrote: > On 09/01/2015 06:10 PM, Chin Liang See wrote: >> On Tue, 2015-09-01 at 11:01 +0200, ma...@denx.de wrote: >>> On Tuesday, September 01, 2015 at 10:54:06 AM, Chin Liang See wrote: On Wed, 2015-08-26 at 01:54 -0500, Chin Liang See wrote: > On

Re: [U-Boot] [PATCH] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-01 Thread Dinh Nguyen
On 08/31/2015 05:23 PM, Marek Vasut wrote: > On Monday, August 31, 2015 at 09:57:05 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Add support for the Terasic DE0-Nano/Atlas-SoC Kit, which is a CycloneV >> based board. The board can boot

Re: [U-Boot] [PATCH] arm: socfpga: Add support for the Terasic DE-0 Atlas board

2015-09-01 Thread Dinh Nguyen
On 09/01/2015 03:33 AM, Marek Vasut wrote: > On Tuesday, September 01, 2015 at 09:38:23 AM, Pavel Machek wrote: >> On Tue 2015-09-01 00:23:49, Marek Vasut wrote: >>> On Monday, August 31, 2015 at 09:57:05 PM, dingu...@opensource.altera.com > wrote: From: Dinh Nguyen

Re: [U-Boot] [PATCH 05/45] arm: Remove unmaintained davinci boards

2015-09-01 Thread Stefano Babic
Hi Simon, On 31/08/2015 03:18, Simon Glass wrote: > These boards have not been converted to generic board by the deadline. > Remove dm355evm, dm355leopard, dm365evm, dm6467evm, dvevm, ea20, schmoogie, > sffsdr, sonata. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH 11/13] arm: zynq: dts: Add U-Boot device tree additions

2015-09-01 Thread Michal Simek
On 08/29/2015 05:10 PM, Simon Glass wrote: > We need to mark some device tree nodes so that they are available before > relocation. This enables driver model to find these automatically. In the > case of SPL it ensures that these nodes will be retained in SPL. > > Signed-off-by: Simon Glass

[U-Boot] [PATCH 19/19] powerpc: mpc86xx: remove sbc8641d support

2015-09-01 Thread Masahiro Yamada
This has not been converted to Generic Board, so should be removed. (See doc/README.generic-board for details.) Signed-off-by: Masahiro Yamada Cc: Paul Gortmaker --- arch/powerpc/cpu/mpc86xx/Kconfig | 4 - board/sbc8641d/Kconfig

[U-Boot] [PATCH 00/15] ARM: uniphier: use pinctrl drivers and some cleanups

2015-09-01 Thread Masahiro Yamada
Masahiro Yamada (15): pinctrl: uniphier: add UniPhier pinctrl core support pinctrl: uniphier: add UniPhier PH1-LD4 pinctrl driver pinctrl: uniphier: add UniPhier PH1-Pro4 pinctrl driver pinctrl: uniphier: add UniPhier PH1-sLD8 pinctrl driver pinctrl: uniphier: add UniPhier PH1-Pro5

[U-Boot] [PATCH 14/15] ARM: uniphier: enable setexpr command

2015-09-01 Thread Masahiro Yamada
This command will be used in the next commit to calculate base-offseted addresses. Signed-off-by: Masahiro Yamada --- configs/ph1_ld4_defconfig | 1 - configs/ph1_pro4_defconfig | 1 - configs/ph1_sld3_defconfig | 1 - configs/ph1_sld8_defconfig | 1 - 4 files

Re: [U-Boot] [PATCH] tools/kwboot.c: Support UART fallback mode

2015-09-01 Thread Stefan Roese
Hi Kevin, (Added Luka to Cc, as the Marvell / MVEBU custodian) On 31.08.2015 22:30, Kevin Smith wrote: On some processors such as Armada 38x, if the hardware- configured boot mode fails, the CPU falls back to booting over UART. When this happens the chip prints a failure message, waits for

Re: [U-Boot] [PATCH v2 1/2] usb: zynqmp: Add XHCI driver support

2015-09-01 Thread Marek Vasut
On Tuesday, September 01, 2015 at 02:48:27 PM, Siva Durga Prasad Paladugu wrote: > HI Marek, Hi, > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Tuesday, September 01, 2015 5:09 PM > > To: Siva Durga Prasad Paladugu > > Cc: u-boot@lists.denx.de; Siva Durga

[U-Boot] [PATCH 00/19] Janitorial: powerpc: remove PowerPC non-generic boards

2015-09-01 Thread Masahiro Yamada
I sent the RFC version two weeks ago to announce the final call for PowerPC unmaintained boards. Some were converted to Generic Board, and some were not. This series really intends to delete non-generic PowerPC boards. I added entries to doc/README.scrapyard in this version. Masahiro Yamada

[U-Boot] [PATCH 02/19] powerpc: ppc4xx: remove csb272, csb472 support

2015-09-01 Thread Masahiro Yamada
These have not been converted to Generic Board, so should be removed. (See doc/README.generic-board for details.) Signed-off-by: Masahiro Yamada Cc: Tolunay Orkun --- arch/powerpc/cpu/ppc4xx/Kconfig | 8 -- board/csb272/Kconfig|

[U-Boot] [PATCH 03/19] powerpc: ppc4xx: remove lwmon5 support

2015-09-01 Thread Masahiro Yamada
This has not been converted to Generic Board, so should be removed. (See doc/README.generic-board for details.) Remove CONFIG_LWMON5 references. (Also, remove undefined CONFIG_WD_MAX_RATE while I am here.) Signed-off-by: Masahiro Yamada Cc: Stefan Roese

[U-Boot] [PATCH 01/19] powerpc: ppc4xx: remove alpr support

2015-09-01 Thread Masahiro Yamada
This has not been converted to Generic Board, so should be removed. (See doc/README.generic-board for details.) Signed-off-by: Masahiro Yamada Cc: Stefan Roese --- arch/powerpc/cpu/ppc4xx/Kconfig | 4 - board/prodrive/alpr/Kconfig | 12 --

<    1   2   3   >