Re: [U-Boot] [PATCH] spi: Add support for MX66U51235F, MX66L1G45G, MT25QU02G, MT25QL02G

2016-11-18 Thread Jagan Teki
On Fri, Nov 18, 2016 at 11:31 PM, wrote: > From: Radu Bacrau > > This commit adds support for the Macronix MX66U51235F, MX66L1G45G and Micron > MT25QU02G, MT25QL02G flash parts. > > Signed-off-by: Radu Bacrau > Cc: Chin Liang See > Cc: Jagan Teki > Cc: Radu Bacrau > --- > drivers/mtd/spi/s

Re: [U-Boot] [PATCH] sunxi: add support for Nintendo NES Classic Edition

2016-11-18 Thread Jagan Teki
On Fri, Nov 18, 2016 at 5:01 AM, FUKAUMI Naoki wrote: > Signed-off-by: FUKAUMI Naoki > --- > arch/arm/dts/Makefile | 1 + > .../dts/sun8i-r16-nintendo-nes-classic-edition.dts | 63 > ++ > board/sunxi/MAINTAINERS| 5 +

[U-Boot] [PATCHv2] qts-filter.sh: strip DOS line endings and handle continuation lines

2016-11-18 Thread Bill Randle
Some Altera Quartus generated files have long lines that are split with a '\' at the end of the line. It also wOn Windows, rites files in DOS format, which can confuse some of the processing scripts in this file. This patch solves both issues. Signed-off-by: Bill Randle Cc: Marek Vasut --- v2:

[U-Boot] [PATCH v7 16/21] spi: Remove dual flash options/flags

2016-11-18 Thread Jagan Teki
Dual flash code in spi are usually take the spi controller to work with dual connected flash devices. Usually these dual connection operation's are referred to flash controller protocol rather with spi controller protocol, these are still present in flash side for the usage of spi-nor controllers.

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

2016-11-18 Thread Tom Rini
On Fri, Nov 18, 2016 at 04:46:03PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks! > Jagan. > > The following changes since commit c2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699: > > Merge branch 'master' of http://git.denx.de/u-boot-mmc (2016-11-17 11:46:56 > -0500) > >

[U-Boot] [PATCH v3 3/6] drivers: usb: gadget: ether: consolidate global devices to single struct

2016-11-18 Thread Mugunthan V N
Consolidate the net device, usb eth device and gadget device struct to single struct and a single global variable so that the same can be passed as priv of ethernet driver. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/usb/gadget/ether.c | 53 +++-

[U-Boot] [PATCH v3 0/6] DM conversion of usb ether gadget

2016-11-18 Thread Mugunthan V N
This patch series adopts driver model for usb ether gadget driver. This series is tested with MUSB driver model conversion on AM335x GP evm and AM335x BBB (logs [1]). Also pushed a branch for testing [2] Changes from v2: * Moved USB ether address from driver hard code to Kconfig entry * Optimized

[U-Boot] [PATCH v3 2/6] drivers: usb: gadget: ether: access network_started using local variable

2016-11-18 Thread Mugunthan V N
network_started of struct eth_dev can be accessed using local variable dev and no reason to access it with the global struct. Signed-off-by: Mugunthan V N Reviewed-by: Simon Glass --- drivers/usb/gadget/ether.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drive

Re: [U-Boot] [PATCH 2/4 v2] fsl/ddr: Add erratum_a009942_check_cpo and clean related erratum

2016-11-18 Thread york sun
On 11/17/2016 07:39 PM, Shengzhou Liu wrote: > - add additional function erratum_a009942_check_cpo to check if the > board needs tuning CPO calibration for optimal setting. > - move ERRATUM_A009942(with revision to check cpo_sample option) from > fsl_ddr_gen4.c to ctrl_regs.c for reuse on all D

Re: [U-Boot] [PATCH] ARM: socfpga: Add boot0 hook to prevent SPL corruption

2016-11-18 Thread Anatolij Gustschin
On Wed, 16 Nov 2016 17:54:14 +0100 Marek Vasut ma...@denx.de wrote: ... > Add BOOT0 hook which reserves the area at offset 0x40..0x5f and > populates offset 0x50 with jump to the entry point. This way, the > preloader signature is stored in reserved space and can not corrupt > the SPL code. > > Si

Re: [U-Boot] [PATCH v3 1/6] drivers: usb: gadget: ether: adopt to usb driver model

2016-11-18 Thread Simon Glass
Hi Mugunthan, On 17 November 2016 at 01:09, Mugunthan V N wrote: > Convert usb ether gadget to adopt usb driver model > > Signed-off-by: Mugunthan V N > Reviewed-by: Simon Glass Sorry, but I'd like to 'un-review' this. > --- > drivers/usb/gadget/ether.c | 36 +

Re: [U-Boot] [PATCH v2] sata: Fixes:d97dc8a0(Separate the non-command code into its own file)

2016-11-18 Thread Simon Glass
Hi Tang, On 16 November 2016 at 23:54, wrote: > From: Tang Yuantian > > Commit d97dc8a0 separated the non-command code into its own file > which caused variable sata_curr_device can not be set to a correct > value. > > Before commit d97dc8a0, variable sata_curr_device can be set > correctly in

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-18 Thread Hans de Goede
Hi, On 18-11-16 16:48, Jagan Teki wrote: On Fri, Nov 18, 2016 at 8:03 PM, Andre Przywara wrote: Hi, On 18/11/16 13:02, Jagan Teki wrote: On Fri, Nov 18, 2016 at 3:48 AM, Maxime Ripard wrote: Hi Hans, On Mon, Nov 14, 2016 at 12:53:13PM +0100, Hans de Goede wrote: Hi All, A while back I w

Re: [U-Boot] [PATCH v2 1/2] keystone2: Move target selection to Kconfig

2016-11-18 Thread Andrew F. Davis
On 11/18/2016 11:56 AM, Andrew F. Davis wrote: > The config option TARGET_K2x_EVM is set by the k2x defconfigs to pick > a board target, but the header configs also set K2x_EVM. This config > is redundant, remove it and use TARGET_K2x_EVM everywhere in its place. > > Signed-off-by: Andrew F. Davis

[U-Boot] [PATCH] spi: Add support for MX66U51235F, MX66L1G45G, MT25QU02G, MT25QL02G

2016-11-18 Thread dumitru . bacrau
From: Radu Bacrau This commit adds support for the Macronix MX66U51235F, MX66L1G45G and Micron MT25QU02G, MT25QL02G flash parts. Signed-off-by: Radu Bacrau Cc: Chin Liang See Cc: Jagan Teki Cc: Radu Bacrau --- drivers/mtd/spi/sf_params.c | 4 1 file changed, 4 insertions(+) diff --gi

[U-Boot] [PATCH v2 2/2] ti_armv7_keystone2: env: Add NFS loading support for PMMC and MON

2016-11-18 Thread Andrew F. Davis
NFS loading support has been added to the default environment for most boot components, as PMMC and MON loading were added later they did not originally get the NFS commands added, add these now. Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla --- include/configs/ti_armv7_keystone2.h |

[U-Boot] [PATCH v2 1/2] keystone2: Move target selection to Kconfig

2016-11-18 Thread Andrew F. Davis
The config option TARGET_K2x_EVM is set by the k2x defconfigs to pick a board target, but the header configs also set K2x_EVM. This config is redundant, remove it and use TARGET_K2x_EVM everywhere in its place. Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla --- arch/arm/mach-keystone/

[U-Boot] [PATCH] board: ge: bx50v3: add the PMIC configuration support

2016-11-18 Thread Akshay Bhat
From: Ken Lin Change the PMIC bulk configuration from auto mode to sync mode to avoid voltage dropout issue seen in auto mode. Signed-off-by: Ken Lin Signed-off-by: Akshay Bhat --- board/ge/bx50v3/bx50v3.c | 54 1 file changed, 54 insertions(+)

Re: [U-Boot] [PATCH] board/ls2080rdb, qds: Enable ddr hashing for controller version 5.2.1

2016-11-18 Thread york sun
On 11/17/2016 10:43 PM, Priyanka Jain wrote: > > >> -Original Message- >> From: york sun >> Sent: Thursday, November 17, 2016 10:14 PM >> To: Priyanka Jain ; u-boot@lists.denx.de >> Subject: Re: [PATCH] board/ls2080rdb,qds: Enable ddr hashing for controller >> version 5.2.1 >> >> On 11/17/2

Re: [U-Boot] [PATCH] tools/env: fix environment alignment tests for block devices

2016-11-18 Thread Andreas Fenkart
2016-11-18 11:38 GMT+01:00 Max Krummenacher : > commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 enforces that the > environment must start at an erase block boundary. > > For block devices the sample fw_env.config does not mandate a erase block size > for block devices. A missing setting defaults t

[U-Boot] [PATCH] qts-filter.sh: strip DOS line endings and handle continuation lines

2016-11-18 Thread Bill Randle
Some Altera Quartus generated files have long lines that are split with a '\' at the end of the line. It also writes files in DOS format, which can confuse some of the processing scripts in this file. This patch solves both issues. Signed-off-by: Bill Randle --- arch/arm/mach-socfpga/qts-filter.

Re: [U-Boot] [PATCH] qts-filter.sh: strip DOS line endings and handle continuation lines

2016-11-18 Thread Bill Randle
On Fri, Nov 18, 2016 at 8:26 AM, Marek Vasut wrote: > On 11/18/2016 05:49 AM, Bill Randle wrote: >> Some Altera Quartus generated files have long lines that are split with a >> '\' at >> the end of the line. It also writes files in DOS format, which can confuse >> some >> of the processing scrip

Re: [U-Boot] [PATCH] qts-filter.sh: strip DOS line endings and handle continuation lines

2016-11-18 Thread Marek Vasut
On 11/18/2016 05:49 AM, Bill Randle wrote: > Some Altera Quartus generated files have long lines that are split with a '\' > at > the end of the line. It also writes files in DOS format, which can confuse > some > of the processing scripts in this file. This patch solves both issues. > > Signed-

[U-Boot] [PATCH] sata: sata_mv: Fix misaligned cache warnings

2016-11-18 Thread Stefan Roese
This patch fixes the warnings about misaligned cache on Armada XP: CACHE: Misaligned operation at range [7facb400, 7facb460] Signed-off-by: Stefan Roese --- drivers/block/sata_mv.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/block/sata_mv.c b/drivers

[U-Boot] [PATCH] bootcounter_ram: Fix misaligned cache warning

2016-11-18 Thread Stefan Roese
This patch fixes the warning about misaligned cache on Armada XP: CACHE: Misaligned operation at range [7000, 7fac] Signed-off-by: Stefan Roese Cc: Valentin Longchamp --- drivers/bootcount/bootcount_ram.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/boo

Re: [U-Boot] devicetree handling with chanloaded bootloader Was: [PATCH] travis: Add efi_loader grub2 test

2016-11-18 Thread Alexander Graf
On 18/11/2016 14:49, Michal Suchanek wrote: Hello, this is like not part of this patch at all but is quite related. There is a question that bugs me for a while. I wanted to flash u-boot to an onboard memory (like a SPI NOR flash) alongside a devicetree for the device so I can load just bare

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-18 Thread Jagan Teki
On Fri, Nov 18, 2016 at 8:03 PM, Andre Przywara wrote: > Hi, > > On 18/11/16 13:02, Jagan Teki wrote: >> On Fri, Nov 18, 2016 at 3:48 AM, Maxime Ripard >> wrote: >>> Hi Hans, >>> >>> On Mon, Nov 14, 2016 at 12:53:13PM +0100, Hans de Goede wrote: Hi All, A while back I wrote: >

[U-Boot] [RFC PATCH 5/5] scsi: Simplify scsi_read/scsi_write()

2016-11-18 Thread Michal Simek
There is no reason to directly point to static allocated array when we have proper block_dev pointer available via parameter in !CONFIG_BLK. For CONFIG_BLK this is read directly from uclass platdata. Signed-off-by: Michal Simek --- common/scsi.c | 27 +++ 1 file changed,

[U-Boot] [RFC PATCH 4/5] scsi: Move pccb buffer initalization directly to scsi_detect_dev

2016-11-18 Thread Michal Simek
pccb is pointer to temporary buffer which is used only for sending command. Make it local as is done in scsi_read/scsi_write. Signed-off-by: Michal Simek --- common/scsi.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/common/scsi.c b/common/scsi.c index c8d43c5b18

[U-Boot] [RFC PATCH 2/5] scsi: Extract device detection algorithm

2016-11-18 Thread Michal Simek
The patch enables running detection algorithm on block device description structure. Signed-off-by: Michal Simek --- common/scsi.c | 134 -- 1 file changed, 73 insertions(+), 61 deletions(-) diff --git a/common/scsi.c b/common/scsi.c inde

[U-Boot] [RFC PATCH 1/5] scsi: Extract block device initialization

2016-11-18 Thread Michal Simek
Extract block device initialization to specific function. Signed-off-by: Michal Simek --- common/scsi.c | 45 + 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/common/scsi.c b/common/scsi.c index dbbf4043b22a..0bce91dfa099 100644 --- a

[U-Boot] [RFC PATCH 3/5] scsi: Take lun from device block description

2016-11-18 Thread Michal Simek
Prepare LUN(Logical unit number) directly in block description structure and reuse it. Signed-off-by: Michal Simek --- common/scsi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/scsi.c b/common/scsi.c index a02c7a505639..c8d43c5b188d 100644 --- a/common/scs

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-18 Thread Andre Przywara
Hi, On 18/11/16 13:02, Jagan Teki wrote: > On Fri, Nov 18, 2016 at 3:48 AM, Maxime Ripard > wrote: >> Hi Hans, >> >> On Mon, Nov 14, 2016 at 12:53:13PM +0100, Hans de Goede wrote: >>> Hi All, >>> >>> A while back I wrote: >>> >>> "Between my $dayjob, linux-sunxi, other foss projects and last but

Re: [U-Boot] [PATCH] usb: xhci: Limit transfer length in a single TD

2016-11-18 Thread Marek Vasut
On 11/18/2016 08:24 AM, Jaehoon Chung wrote: > Hi, > > Added Marek as USB maintainer. > > On 11/17/2016 01:21 PM, Dongwoo Lee wrote: >> The transfer request exceeding 4032KB (the maximum number of TRBs per >> TD * the maximum size of transfer buffer on TRB) fails on xhci host >> with timed out er

[U-Boot] [PATCH] linux/compat.h: Properly implement ndelay fallback

2016-11-18 Thread Mario Six
Commit c68c62 ("i2c: mvtwsi: Make delay times frequency-dependent") extensively used the ndelay function with a calculated parameter which is dependant on the configured frequency of the I2C bus. If standard speed is employed, the parameter is usually 1 (1ns period length for 100kHz frequen

[U-Boot] devicetree handling with chanloaded bootloader Was: [PATCH] travis: Add efi_loader grub2 test

2016-11-18 Thread Michal Suchanek
Hello, this is like not part of this patch at all but is quite related. There is a question that bugs me for a while. I wanted to flash u-boot to an onboard memory (like a SPI NOR flash) alongside a devicetree for the device so I can load just bare zImage from anywhere the user points to and pas

Re: [U-Boot] Stepping down as sunxi u-boot custodian (for real this time)

2016-11-18 Thread Jagan Teki
On Fri, Nov 18, 2016 at 3:48 AM, Maxime Ripard wrote: > Hi Hans, > > On Mon, Nov 14, 2016 at 12:53:13PM +0100, Hans de Goede wrote: >> Hi All, >> >> A while back I wrote: >> >> "Between my $dayjob, linux-sunxi, other foss projects and last but >> not least spending time with my wife and children I

Re: [U-Boot] Fixed clock driver (clk: convert API to match reset/mailbox style)

2016-11-18 Thread Michal Simek
On 18.11.2016 02:14, Simon Glass wrote: > Hi Michal, > > On 16 November 2016 at 00:15, Michal Simek wrote: >> Hi Simon, >> >> On 15.11.2016 20:23, Simon Glass wrote: >>> Hi Michal, >>> >>> On 15 November 2016 at 12:07, Michal Simek wrote: Hi guys, I just found today with playing w

Re: [U-Boot] Dynamically determine RAM size and pass it to kernel

2016-11-18 Thread Michal Simek
On 17.11.2016 15:09, Mike Looijmans wrote: > On 17-11-16 13:34, Mike Looijmans wrote: >> We have some Zynq based boards still in the field that have only 512MB >> RAM >> instead of 1GB. The memory chips are compatible and use the same settings >> apart from that one extra address bit. >> >> So what

[U-Boot] [PATCH v2] travis: Add efi_loader grub2 test

2016-11-18 Thread Alexander Graf
We have all the building blocks now to run arbitrary efi applications in travis. The most important one out there is grub2, so let's add a simple test to verify that grub2 still comes up. Signed-off-by: Alexander Graf --- This patch depends on the previous travis efi_loader enablement v1 -> v2

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

2016-11-18 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit c2cbd164ea5b5f564fcf03447c7bf9ec4a9f5699: Merge branch 'master' of http://git.denx.de/u-boot-mmc (2016-11-17 11:46:56 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git master fo

Re: [U-Boot] [PATCH v7 04/21] sf: Cleanup spi_flash_info{}

2016-11-18 Thread Jagan Teki
On Fri, Nov 18, 2016 at 11:01 AM, Jagan Teki wrote: > - Proper tabs spaces > - Removed unnecessary > - Add comments in spi_flash_info members > - Add comments for spi_flash_info.flags > > Cc: Simon Glass > Cc: Bin Meng > Cc: York Sun > Cc: Vignesh R > Cc: Mugunthan V N > Cc: Michal Simek > S

Re: [U-Boot] [PATCH v7 21/21] sf: Fix s25fs512s id table

2016-11-18 Thread Jagan Teki
On Thu, Nov 17, 2016 at 12:22 PM, Jagan Teki wrote: > s25fs512s and s25fl512s_256k have common id information > till 5 bytes and 6th byte have different family id > like FS and FL-S as 0x81 and 0x80. > > Reported-by: Vignesh R > Signed-off-by: Jagan Teki > --- > Changes for v7: > - Update SECT_4

Re: [U-Boot] [PATCH v7 14/21] sf: ids: Use small letter in ext_jedec

2016-11-18 Thread Jagan Teki
On Thu, Nov 17, 2016 at 12:20 PM, Jagan Teki wrote: > Use small 'd' in s25s512s ext_jedec > > Cc: Bin Meng > Cc: York Sun > Cc: Vignesh R > Cc: Mugunthan V N > Cc: Michal Simek > Signed-off-by: Jagan Teki > Reviewed-by: Simon Glass > Reviewed-by: Jagan Teki > Reviewed-by: Siva Durga Prasad

Re: [U-Boot] [PATCH v7 13/21] sf: ids: Use small letter's with flash name

2016-11-18 Thread Jagan Teki
On Thu, Nov 17, 2016 at 12:20 PM, Jagan Teki wrote: > From: Jagan Teki > > For readability use small letter's with flash name. > > Cc: Bin Meng > Cc: York Sun > Cc: Vignesh R > Cc: Mugunthan V N > Cc: Michal Simek > Signed-off-by: Jagan Teki > Reviewed-by: Simon Glass > Reviewed-by: Jagan

Re: [U-Boot] [PATCH v7 10/21] sf: Remove spansion_s25fss_disable_4KB_erase

2016-11-18 Thread Jagan Teki
On Thu, Nov 17, 2016 at 12:17 PM, Jagan Teki wrote: > From: Jagan Teki > > In spansion S25FS-S family the physical sectors are grouped as > normal and parameter sectors. Parameter sectors are 4kB in size > with 8 set located at the bottom or top address of a device. > Normal sectors are similar t

Re: [U-Boot] [PATCH v6 00/21] sf: Updates on flash detection

2016-11-18 Thread Jagan Teki
On Wed, Nov 16, 2016 at 9:32 AM, Jagan Teki wrote: > From: Jagan Teki > > Updated spi_flash_info table in sync with Linux, and removed > legacy and unsupported code. > > Changes for v6: > - Fix few comments from Simon > - Rebase to master > > Changes for v5: > - Add dataflash fixes in this series

Re: [U-Boot] [PATCH] imx: iomux-v3: provide MX7D_PAD_ENET1_RX_CLK__ENET1_RGMII_RXC

2016-11-18 Thread Sebastian Andrzej Siewior
On 2016-11-16 13:10:23 [-0800], Stefan Agner wrote: > On 2016-11-16 12:02, Sebastian Andrzej Siewior wrote: > > MX7D_PAD_ENET1_RX_CLK__ENET1_RX_CLK is in its currently RGMII_RXC. > > Fix this by providing RX_CLK with properly setting the DAISY value and > > MX7D_PAD_ENET1_RX_CLK__ENET1_RGMII_RXC wh

[U-Boot] [PATCH] tools/env: fix environment alignment tests for block devices

2016-11-18 Thread Max Krummenacher
commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 enforces that the environment must start at an erase block boundary. For block devices the sample fw_env.config does not mandate a erase block size for block devices. A missing setting defaults to the full env size. Depending on the environment loca

[U-Boot] [PATCH] travis: Add efi_loader grub2 test

2016-11-18 Thread Alexander Graf
We have all the building blocks now to run arbitrary efi applications in travis. The most important one out there is grub2, so let's add a simple test to verify that grub2 still comes up. Signed-off-by: Alexander Graf --- This patch depends on the previous travis efi_loader enablement --- .tra

Re: [U-Boot] [PATCH] board/ls2080rdb, qds: Enable ddr hashing for controller version 5.2.1

2016-11-18 Thread Priyanka Jain
> -Original Message- > From: york sun > Sent: Thursday, November 17, 2016 10:14 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Subject: Re: [PATCH] board/ls2080rdb,qds: Enable ddr hashing for controller > version 5.2.1 > > On 11/17/2016 01:39 AM, Priyanka Jain wrote: > > From: Priyanka