Re: [U-Boot] [PULL] u-boot-usb/master

2016-08-09 Thread Masahiro Yamada
2016-08-09 1:45 GMT+09:00 Marek Vasut : > On 08/08/2016 06:42 PM, Tom Rini wrote: >> On Sun, Aug 07, 2016 at 09:57:44PM +0200, Marek Vasut wrote: >> >>> The following changes since commit 2863a9bfc29092be37f8beee230883367b057065: >>> >>> Merge git://git.denx.de/u-boot-rockchip

Re: [U-Boot] [PATCH v2 00/22] spi/sf: Updates on flash detection

2016-08-09 Thread Jagan Teki
Hi Bin, On 10 August 2016 at 11:16, Bin Meng wrote: > Hi Jagan, > > On Wed, Aug 10, 2016 at 12:59 PM, Jagan Teki wrote: >> Hi Bin, >> >> On 10 August 2016 at 08:08, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Wed, Aug 10, 2016 at

Re: [U-Boot] [PATCH v2 00/22] spi/sf: Updates on flash detection

2016-08-09 Thread Bin Meng
Hi Jagan, On Wed, Aug 10, 2016 at 12:59 PM, Jagan Teki wrote: > Hi Bin, > > On 10 August 2016 at 08:08, Bin Meng wrote: >> Hi Jagan, >> >> On Wed, Aug 10, 2016 at 4:03 AM, Jagan Teki wrote: >>> Updated spi_flash_info table in

Re: [U-Boot] [PATCH v2 03/22] spi: Use mode for rx mode flags

2016-08-09 Thread Jagan Teki
On Wednesday 10 August 2016 10:23 AM, Vignesh R wrote: Hi, On Wednesday 10 August 2016 01:33 AM, Jagan Teki wrote: Make rx mode flags as generic to spi, earlier mode_rx is maintained separately becuase of some flash specific code. Nit: s/becuase/because OK. [...] diff --git

[U-Boot] [PATCH v3 03/22] spi: Use mode for rx mode flags

2016-08-09 Thread Jagan Teki
Make rx mode flags as generic to spi, earlier mode_rx is maintained separately because of some flash specific code. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc: Vignesh R

Re: [U-Boot] [PATCH v2 07/22] sf: Adopt flash table INFO macro from Linux

2016-08-09 Thread Jagan Teki
On Wednesday 10 August 2016 10:34 AM, Vignesh R wrote: On Wednesday 10 August 2016 01:33 AM, Jagan Teki wrote: INFO macro make flash table entries more adjustable like adding new flash_info attributes, update ID length bytes and so on and more over it will sync to Linux way of defining

Re: [U-Boot] [PATCH v2 07/22] sf: Adopt flash table INFO macro from Linux

2016-08-09 Thread Vignesh R
On Wednesday 10 August 2016 01:33 AM, Jagan Teki wrote: > INFO macro make flash table entries more adjustable like > adding new flash_info attributes, update ID length bytes > and so on and more over it will sync to Linux way of defining > flash_info attributes. [...] > diff --git

Re: [U-Boot] [PATCH v2 00/22] spi/sf: Updates on flash detection

2016-08-09 Thread Jagan Teki
Hi Bin, On 10 August 2016 at 08:08, Bin Meng wrote: > Hi Jagan, > > On Wed, Aug 10, 2016 at 4:03 AM, Jagan Teki wrote: >> Updated spi_flash_info table in sync with Linux, and removed >> legacy and unsupported code. >> >> Changes for v2: >> - New

Re: [U-Boot] [PATCH v2 03/22] spi: Use mode for rx mode flags

2016-08-09 Thread Vignesh R
Hi, On Wednesday 10 August 2016 01:33 AM, Jagan Teki wrote: > Make rx mode flags as generic to spi, earlier mode_rx is > maintained separately becuase of some flash specific code. > Nit: s/becuase/because [...] > diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c > index

[U-Boot] [PATCH] ARM: rmobile: r8a7795: Add MMU layout

2016-08-09 Thread Nobuhiro Iwamatsu
This add MMU layout for R8A7795 of Renesas ARM64 SoC. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Makefile | 2 +- arch/arm/mach-rmobile/memmap-r8a7795.c | 30 ++ 2 files changed, 31 insertions(+), 1 deletion(-) create

[U-Boot] [PATCH] ARM: rmobile: lager: Move rcar-gen2-common to rcar-common

2016-08-09 Thread Nobuhiro Iwamatsu
To common use of rcar-gen2-common directory in the R-Car SoCs, and change from rcar-gen2-common to rcar-common. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/lager/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH] ARM: rmobile: Remove duplicate configs by Kconfig in rcar-gen3-common.h

2016-08-09 Thread Nobuhiro Iwamatsu
This commit remove dupilicate following configs from rcar-gen3-common.h. - CONFIG_CMD_BOOTZ - CONFIG_BOOTDELAY - CONFIG_CMD_EDITENV - CONFIG_CMD_SAVEENV - CONFIG_CMD_MEMORY - CONFIG_CMD_RUN - CONFIG_CMD_LOADS Signed-off-by: Nobuhiro Iwamatsu ---

[U-Boot] [PATCH] ARM: rmobile: salvator-x: Update defconfig

2016-08-09 Thread Nobuhiro Iwamatsu
This moves some config from config files. Signed-off-by: Nobuhiro Iwamatsu --- configs/salvator-x_defconfig | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configs/salvator-x_defconfig b/configs/salvator-x_defconfig index 1cfdbd6..e16acd3

Re: [U-Boot] [PATCH v2] drivers: net: cpsw: always flush cache of size PKTSIZE_ALIGN

2016-08-09 Thread Joe Hershberger
Hi Lokesh On Tue, Aug 9, 2016 at 12:47 AM, Lokesh Vutla wrote: > cpsw tries to flush dcache which is not in the range of PKTSIZE. > Because of this the following warning comes while flushing: > > CACHE: Misaligned operation at range [dffecec0, dffed016] > > Fix it by flushing

[U-Boot] [PATCH v11] mmc: atmel_sdhci: Convert to the driver model support

2016-08-09 Thread Wenyou Yang
Convert the driver to the driver model while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v2] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-09 Thread Simon Glass
Hi Stefan, On 8 August 2016 at 23:41, Stefan Roese wrote: > This patch adds support for the SMBus block read/write functionality. > Other protocols like the SMBus quick command need to get added > if this is needed. > > This patch also removed the SMBus related defines from the

[U-Boot] [PATCH v1] rockchip: rk3288-firefly: enable boot from eMMC

2016-08-09 Thread Jacob Chen
Add eMMC dt node and define fallback boot devices. Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-firefly.dts | 4 board/firefly/firefly-rk3288/firefly-rk3288.c | 8 2 files changed, 12 insertions(+) diff --git

Re: [U-Boot] [PATCH v2 00/22] spi/sf: Updates on flash detection

2016-08-09 Thread Bin Meng
Hi Jagan, On Wed, Aug 10, 2016 at 4:03 AM, Jagan Teki wrote: > Updated spi_flash_info table in sync with Linux, and removed > legacy and unsupported code. > > Changes for v2: > - New patches. > Is this a new version of previous spi-nor framework work? Regards, Bin

Re: [U-Boot] [PATCH 1/6] x86: Add implementations of setjmp() and longjmp()

2016-08-09 Thread Bin Meng
Hi Simon, On Wed, Aug 10, 2016 at 2:16 AM, Simon Glass wrote: > Hi Bin, > > On 9 August 2016 at 00:49, Bin Meng wrote: >> Hi Simon, >> >> On Sun, Aug 7, 2016 at 7:23 AM, Simon Glass wrote: >>> Bring in these functions from Linux v4.4.

Re: [U-Boot] [PATCH v10] mmc: atmel_sdhci: Convert to the driver model support

2016-08-09 Thread Jaehoon Chung
Hi Wenyou, On 08/10/2016 11:03 AM, wenyou.y...@microchip.com wrote: > Hi Pantelis, > > Do you have some comments? You have to rebase on latest u-boot. Because some function is changed. Refer to below comment. > > > Best Regards, > Wenyou Yang > >> -Original Message- >> From: Wenyou

Re: [U-Boot] [PATCH v10] mmc: atmel_sdhci: Convert to the driver model support

2016-08-09 Thread Wenyou.Yang
Hi Pantelis, Do you have some comments? Best Regards, Wenyou Yang > -Original Message- > From: Wenyou Yang [mailto:wenyou.y...@atmel.com] > Sent: 2016年8月5日 9:07 > To: U-Boot Mailing List ; Pantelis Antoniou > > Cc: Heiko Schocher

[U-Boot] [PATCH] rockchip: rk3288-firefly: enable boot from eMMC

2016-08-09 Thread Jacob Chen
Add eMMC dt node and define fallback boot devices. Signed-off-by: Jacob Chen --- arch/arm/dts/rk3288-firefly.dts | 5 + board/firefly/firefly-rk3288/firefly-rk3288.c | 8 2 files changed, 13 insertions(+) diff --git

Re: [U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-09 Thread Tom Rini
On Mon, Aug 08, 2016 at 03:44:30PM -0600, Simon Glass wrote: > Hi Alexander, > > On 5 August 2016 at 06:49, Alexander Graf wrote: > > When using CONFIG_BLK, there were 2 issues: > > > > 1) The name we generate the device with has to match the > > name we set in

Re: [U-Boot] [PATCH 1/4] Sandbox: document support of block device emulation

2016-08-09 Thread Simon Glass
On 9 August 2016 at 16:44, Stefan Brüns wrote: > Signed-off-by: Stefan Brüns > --- > board/sandbox/README.sandbox | 19 +++ > 1 file changed, 19 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v7 0/4] ARM: AT91: Add AT91 PIO4 pinctrl driver and gpio driver with DM

2016-08-09 Thread Wenyou.Yang
HI Andreas, Do you have some comments on this series? Best Regards, Wenyou Yang > -Original Message- > From: Wenyou Yang [mailto:wenyou.y...@atmel.com] > Sent: 2016年7月20日 17:16 > To: U-Boot Mailing List > Cc: Stephen Warren ; Andreas Bießmann

Re: [U-Boot] [PATCH v5] clk: at91: Add clock driver

2016-08-09 Thread Wenyou.Yang
Hi Andreas, Do you have some comments? Best Regards, Wenyou Yang > -Original Message- > From: Wenyou Yang [mailto:wenyou.y...@atmel.com] > Sent: 2016年7月20日 17:55 > To: U-Boot Mailing List > Cc: Stephen Warren ; Andreas Bießmann >

Re: [U-Boot] [U-Boot, v3, 5/5] ARM: dts: dra72-evm: Add mode-gpios entry for mac node

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:14:28AM +0530, Vignesh R wrote: > On DRA72 EVM, cpsw slave1 is muxed with VIN2A, hence switch to cpsw > slave0 for ethernet. This is controlled by pcf gpio line. Add > appropriate mode-gpios DT entry so that driver can select the required > slave. > > Signed-off-by:

Re: [U-Boot] [U-Boot, v3, 3/5] ARM: dts: dra7xx: Add u-boot specific property for PCF8575 nodes

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:14:26AM +0530, Vignesh R wrote: > PCF8575 does not have any registers hence, offset field needs to be > ignored for i2c read/write. Therefore populate u-boot,i2c-offset-len > with 0 in PCF8575 DT nodes. > > Signed-off-by: Vignesh R > Reviewed-by:

Re: [U-Boot] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-09 Thread Tom Rini
On Fri, Aug 05, 2016 at 02:49:53PM +0200, Alexander Graf wrote: > When using CONFIG_BLK, there were 2 issues: > > 1) The name we generate the device with has to match the > name we set in efi_set_bootdev() > > 2) The device we pass into our block functions was wrong, > we should

Re: [U-Boot] [U-Boot, 1/5] drivers: net: keystone_net: fix line termination with semi-colon

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:11PM +0530, Mugunthan V N wrote: > Each line should be terminated by semi-colon. It was not caught > earlier as there is a proper statement. Fix it by changing the > comma with semi-colon. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom

Re: [U-Boot] [U-Boot, 2/5] drivers: net: keystone_net: add support for multi slave ethernet

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:12PM +0530, Mugunthan V N wrote: > Keystone net can have multiple ethernet slaves, currently only > slave 1 is supported by the driver. Register multiple slaves as > individual ethernets to network framework. > > Signed-off-by: Mugunthan V N >

Re: [U-Boot] efi_loader: disk: Sanitize exposed devices

2016-08-09 Thread Tom Rini
On Fri, Aug 05, 2016 at 02:51:47PM +0200, Alexander Graf wrote: > When a target device is 0 bytes long, there's no point in exposing it to > the user. Let's just skip them. > > Also, when an offset is passed into the efi disk creation, we should > remove this offset from the total number of

Re: [U-Boot] [U-Boot, v3, 4/5] net: cpsw: Add support to drive gpios for ethernet to be functional

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:14:27AM +0530, Vignesh R wrote: > On DRA72 EVM, cpsw slaves may be muxed with other modules. This > selection is controlled by a pcf gpio line. Add support for cpsw driver > to acquire mode-gpios and select the appropriate slave using gpio APIs. > > Signed-off-by:

Re: [U-Boot] tiny-printf: Adjust to avoid using data section

2016-08-09 Thread Tom Rini
On Thu, Aug 04, 2016 at 09:58:14PM -0600, Simon Glass wrote: > We can pass all the variables down to the functions that need them, and > then everything is on the stack. This is safer than using the data section. > > At least on firefly-rk3288, the code size is the same and the data size is > 12

Re: [U-Boot] [U-Boot, 5/5] configs: k2l_evm: add random eth address support

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:15PM +0530, Mugunthan V N wrote: > There is only one ethernet mac address in e-fuse, but there are > multiple slaves in keystone net, so enable random mac address > support. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, 4/5] configs: k2e_evm: add random eth address support

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:14PM +0530, Mugunthan V N wrote: > There is only one ethernet mac address in e-fuse, but there are > multiple slaves in keystone net, so enable random mac address > support. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, 3/5] configs: k2hk_evm: add random eth address support

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 12:01:13PM +0530, Mugunthan V N wrote: > There is only one ethernet mac address in e-fuse, but there are > multiple slaves in keystone net, so enable random mac address > support. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, v3, 2/5] ARM: dra7xx_evm: Enable support for TI PCF8575

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:14:25AM +0530, Vignesh R wrote: > On DRA7, pcf chip present at address 0x21 on i2c1, is used to > switch between cpsw slave0 and slave1. Hence, enable PCF > driver for the same. > > Signed-off-by: Vignesh R > Reviewed-by: Mugunthan V N

Re: [U-Boot] [U-Boot, v3, 1/5] gpio: Add driver for TI PCF8575 I2C GPIO expander

2016-08-09 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:14:24AM +0530, Vignesh R wrote: > TI's PCF8575 is a 16-bit I2C GPIO expander.The device features a > 16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can > be used as an input or output without the use of a data-direction > control signal. The I/Os

Re: [U-Boot] [U-Boot, v2] spl_nor.c: Support devicetree sizes different from 16k

2016-08-09 Thread Tom Rini
On Tue, Jul 26, 2016 at 07:34:07AM +0200, Mike Looijmans wrote: > The devicetrees for various platforms already exceed 16k. Add a define > CONFIG_SYS_FDT_SIZE to specify the FDT size, and set to 16k for the > two boards that define this CONFIG_SYS_FDT_BASE parameter. This > allows platforms with

Re: [U-Boot] Please pull u-boot-ppc4xx/master

2016-08-09 Thread Tom Rini
On Tue, Aug 09, 2016 at 09:31:50AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following ppc4xx fix from Dirk: > > The following changes since commit 5405817a6e7a6538c4bcb1c3076ddc83fe5d03f9: > > spi: cadence_qspi_apb: Ensure baudrate doesn't exceed max value (2016-08-07 >

Re: [U-Boot] [U-Boot, RFC] i2c: i2c-uclass-compat: avoid any BSS usage

2016-08-09 Thread Tom Rini
On Mon, Jul 25, 2016 at 04:26:45PM +0530, Vignesh R wrote: > As I2C can be used before DRAM initialization for reading EEPROM, > avoid using static variables stored in BSS, since BSS is in DRAM, which > may not have been initialised yet. Explicitly mark "static global" > variables as belonging to

[U-Boot] [PATCH 2/4] sandbox: Add "host size" hostfs command for fs test

2016-08-09 Thread Stefan Brüns
Signed-off-by: Stefan Brüns --- cmd/host.c | 8 1 file changed, 8 insertions(+) diff --git a/cmd/host.c b/cmd/host.c index 8d84415..b427e54 100644 --- a/cmd/host.c +++ b/cmd/host.c @@ -25,6 +25,12 @@ static int do_host_ls(cmd_tbl_t *cmdtp, int flag, int

[U-Boot] [PATCH 1/4] Sandbox: document support of block device emulation

2016-08-09 Thread Stefan Brüns
Signed-off-by: Stefan Brüns --- board/sandbox/README.sandbox | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox index ed820d3..02d8ab3 100644 --- a/board/sandbox/README.sandbox +++

[U-Boot] [PATCH 3/4] test/fs: strip carriage-return from sandbox output

2016-08-09 Thread Stefan Brüns
DM added carriage-returns to every newline. Strip everything after the 32 character long mdsum. Signed-off-by: Stefan Brüns --- test/fs/fs-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fs/fs-test.sh b/test/fs/fs-test.sh index

[U-Boot] [PATCH 4/4] test/fs: replace deprecated "sb" command with "host"

2016-08-09 Thread Stefan Brüns
Signed-off-by: Stefan Brüns --- test/fs/fs-test.sh | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/test/fs/fs-test.sh b/test/fs/fs-test.sh index 171b1de..82e91b0 100755 --- a/test/fs/fs-test.sh +++

[U-Boot] [PATCH 0/4] Some additions for sandbox and fs tests

2016-08-09 Thread Stefan Brüns
Add some documentation for the sandbox block device emulation and fix some issues for the fs test script. Stefan Brüns (4): Sandbox: document support of block device emulation sandbox: Add "host size" hostfs command for fs test test/fs: strip carriage-return from sandbox output test/fs:

Re: [U-Boot] [RFC PATCH] ARM: cache: cp15: Align addresses when initial page_table setup is flushed

2016-08-09 Thread Fabio Estevam
On Tue, Aug 9, 2016 at 5:41 AM, Lukasz Majewski wrote: > Change made in the commit: > "arm: Show cache warnings in U-Boot proper only" > SHA1: bcc53bf095893fbdae531a9a7b5d4ef4a125a7fc > > has revealed that during initial setting of MMU regions in the >

Re: [U-Boot] [RFC PATCH] ARM: cache: cp15: Align addresses when initial page_table setup is flushed

2016-08-09 Thread Lukasz Majewski
Dear all, > Change made in the commit: > "arm: Show cache warnings in U-Boot proper only" > SHA1: bcc53bf095893fbdae531a9a7b5d4ef4a125a7fc > > has revealed that during initial setting of MMU regions in the > mmu_set_region_dcache_behavior() function some addresses are unaligned > to platform

Re: [U-Boot] [PATCH 3/6] arm: efi: Add a hello world test program

2016-08-09 Thread Alexander Graf
> Am 09.08.2016 um 20:16 schrieb Simon Glass : > > Hi Bin, > >> On 9 August 2016 at 00:50, Bin Meng wrote: >> Hi Simon, >> >>> On Sun, Aug 7, 2016 at 7:23 AM, Simon Glass wrote: >>> It is useful to have a basic sanity check for EFI

[U-Boot] [PATCH v2 22/22] sf: Rename sf_params.c to spi_flash_ids

2016-08-09 Thread Jagan Teki
spi_flash_ids.c is more meaningful name as the flash_info table structure spi_flash_info has spi_flash_ids instance. Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc:

[U-Boot] [PATCH v2 21/22] sf: Remove non-meaningful comments

2016-08-09 Thread Jagan Teki
Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki

[U-Boot] [PATCH v2 19/22] sf: params: Add S25FS256S_64K spi flash support

2016-08-09 Thread Jagan Teki
Add Spansion S25FS256S_64K spi flash to the list of spi_flash_ids. 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 to other flash

[U-Boot] [PATCH v2 16/22] sf: Add SPI_FLASH_MAX_ID_LEN

2016-08-09 Thread Jagan Teki
Add id length of 5 bytes numerical value to macro. Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad

[U-Boot] [PATCH v2 20/22] sf: Remove legacy idcode detection code

2016-08-09 Thread Jagan Teki
Since flash detection code is more mature to detect even with 6 bytes id length devices removed old code and related references. Cc: Yunhui Cui Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R

[U-Boot] [PATCH v2 14/22] sf: Cleanup sf_params

2016-08-09 Thread Jagan Teki
- Move headers froms sf_params to common header file - Removed unnecessary comment Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek

[U-Boot] [PATCH v2 13/22] sf: Cleanup spi_flash_info{}

2016-08-09 Thread Jagan Teki
- Proper tabs spaces - Removed unnecessary - Added meaningful comments  Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek Cc: Siva

[U-Boot] [PATCH v2 12/22] sf: sandbox: Fix ID exctract from spi_flash_info

2016-08-09 Thread Jagan Teki
This patch fix the id exctract from spi_flash_info ids. Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- drivers/mtd/spi/sandbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 11/22] sf: Simplify lock ops detection code

2016-08-09 Thread Jagan Teki
Simplify the flash_lock ops detection code and added meaningful comment. Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek Cc:

[U-Boot] [PATCH v2 06/22] sf: Move flags macro's to spi_flash_params{} members

2016-08-09 Thread Jagan Teki
This patch moves flags macro's to respective member position on spi_flash_params{}, for better readabilty and finding the respective member macro's easily. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad

[U-Boot] [PATCH v2 07/22] sf: Adopt flash table INFO macro from Linux

2016-08-09 Thread Jagan Teki
INFO macro make flash table entries more adjustable like adding new flash_info attributes, update ID length bytes and so on and more over it will sync to Linux way of defining flash_info attributes. Cc: Simon Glass Cc: Bin Meng Cc: York Sun

[U-Boot] [PATCH v2 15/22] sf: nr_sectors -> n_sectors

2016-08-09 Thread Jagan Teki
Rename nr_sectors as n_sectors to sync with Linux. Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad

[U-Boot] [PATCH v2 05/22] sf: Add CONFIG_SPI_FLASH_USE_4K_SECTORS in spi_flash

2016-08-09 Thread Jagan Teki
Add CONFIG_SPI_FLASH_USE_4K_SECTORS in spi_flash code from header file. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc: Vignesh R Cc: Mugunthan V N

[U-Boot] [PATCH v2 10/22] sf: Add JEDEC_MFR

2016-08-09 Thread Jagan Teki
Instead using idcode[0] for detecting manufacture id add JEDEC_MFR macro for code simplicity and undesirability. Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal

[U-Boot] [PATCH v2 09/22] sf: Rename spi_flash_params => spi_flash_info

2016-08-09 Thread Jagan Teki
Renamed for more readability - spi_flash_params => spi_flash_info - params => info Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek

[U-Boot] [PATCH v2 04/22] sf: Remove SECT_32K

2016-08-09 Thread Jagan Teki
SECT_32K never used anywhere in the code. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc: Vignesh R Cc: Mugunthan V N Signed-off-by:

[U-Boot] [PATCH v2 08/22] sf: Add JEDEC_ID and JEDEC_EXT macro

2016-08-09 Thread Jagan Teki
Few of the flash families with different ext_jedec have changes in page_size so these macros check these ext_jedec and assign page_size accordingly Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V

[U-Boot] [PATCH v2 03/22] spi: Use mode for rx mode flags

2016-08-09 Thread Jagan Teki
Make rx mode flags as generic to spi, earlier mode_rx is maintained separately becuase of some flash specific code. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Cc: Vignesh R

[U-Boot] [PATCH v2 18/22] sf: Add INFO6 flash_info macro

2016-08-09 Thread Jagan Teki
INFO6 is for tabulating 6 byte flash parts, Ex: S25FS256S_64K Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga

[U-Boot] [PATCH v2 02/22] sf: Remove e_rd_cmd from param table

2016-08-09 Thread Jagan Teki
e_rd_cmd is maintained separately for fastest read command code, since the read commands are computed normally this e_rd_cmd is not required in spi_flash_params table. Cc: Simon Glass Cc: Bin Meng Cc: Michal Simek Cc: Siva Durga

[U-Boot] [PATCH v2 01/22] sf: Simplify fastest read cmd code

2016-08-09 Thread Jagan Teki
Fastest read command code look for fastest read command taking inputs from spi->mode_rx and flags from param table and controller mode_rx is always been a priority. Since mode_rx is always set from controller side this optimized code doesn't require much and this code required exctra overhead

[U-Boot] [PATCH v2 17/22] sf: Increase max id length by 1 byte

2016-08-09 Thread Jagan Teki
So, now SPI_FLASH_ID_MAX_LEN is 6 bytes useful for few spansion flash families S25FS-S Cc: Simon Glass Cc: Bin Meng Cc: York Sun Cc: Vignesh R Cc: Mugunthan V N Cc: Michal Simek

[U-Boot] [PATCH v2 00/22] spi/sf: Updates on flash detection

2016-08-09 Thread Jagan Teki
Updated spi_flash_info table in sync with Linux, and removed legacy and unsupported code. Changes for v2: - New patches. Jagan Teki (22): sf: Simplify fastest read cmd code sf: Remove e_rd_cmd from param table spi: Use mode for rx mode flags sf: Remove SECT_32K sf: Add

[U-Boot] u-boot efi

2016-08-09 Thread scott.ivel...@calix.com
I am trying to use u-boot-efi on a board that has an Intel D-1500 series processor and 64-bit UEFI ROM. As per the information in doc/README.efi I built a u-boot-payload.efi with CONFIG_EFI_STUB_64BIT and installed it onto a USB drive I am booting with. The UEFI loads/runs the u-boot but

Re: [U-Boot] [PATCH][v2] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-08-09 Thread Pratiyush Srivastava
> -Original Message- > From: york sun > Sent: Friday, August 05, 2016 10:54 PM > To: Pratiyush Srivastava ; u- > b...@lists.denx.de > Cc: Prabhakar Kushwaha > Subject: Re: [PATCH][v2] board: ls1012afrdm: overwrite >

[U-Boot] [PATCH v2 3/4] ARM: dts: vf-colibri: Enable USB device tree node for Colibri Vybrid

2016-08-09 Thread Sanchayan Maity
Enable USB device tree node for Toradex Colibri Vybrid module. Signed-off-by: Sanchayan Maity --- arch/arm/dts/vf-colibri.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi index

[U-Boot] [PATCH v2 4/4] configs: colibri_vf_defconfig: Enable USB driver model for Colibri Vybrid

2016-08-09 Thread Sanchayan Maity
Enable USB driver model for Toradex Colibri Vybrid modules. Signed-off-by: Sanchayan Maity --- configs/colibri_vf_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig index 986cec4..5017c7d 100644 ---

[U-Boot] [PATCH v2 2/4] ARM: dts: vf: Add device tree node for USB on Vybrid

2016-08-09 Thread Sanchayan Maity
Add device tree node for USB peripheral on Vybrid. Signed-off-by: Sanchayan Maity --- arch/arm/dts/vf.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/vf.dtsi b/arch/arm/dts/vf.dtsi index 1530d2f..d7d21a3 100644 ---

[U-Boot] [PATCH v2 0/4] Migrate Vybrid USB driver to driver model

2016-08-09 Thread Sanchayan Maity
Hello, This is the second version of the patchset for migrating Vybrid USB driver to driver model. Compare to the first version, this version takes care of dr_mode property and correctly handles OTG as well when gpio is specified for use as ID detection pin. This is an essential requirement for

[U-Boot] [PATCH v2 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-08-09 Thread Sanchayan Maity
Add driver model support for Vybrid USB driver. Signed-off-by: Sanchayan Maity --- drivers/usb/host/ehci-vf.c | 208 +++-- 1 file changed, 201 insertions(+), 7 deletions(-) diff --git a/drivers/usb/host/ehci-vf.c

Re: [U-Boot] Disable command at runtime

2016-08-09 Thread Simon Glass
Hi, On 29 July 2016 at 07:31, Tom Rini wrote: > On Thu, Jul 28, 2016 at 04:40:29AM -0700, kubiznak.petr wrote: > >> Hello, >> >> I wonder whether it is possible to dynamically enable/disable a command. >> Since u-boot does not provide any secure authentication method, it is

Re: [U-Boot] [PATCH 1/6] x86: Add implementations of setjmp() and longjmp()

2016-08-09 Thread Simon Glass
Hi Bin, On 9 August 2016 at 00:49, Bin Meng wrote: > Hi Simon, > > On Sun, Aug 7, 2016 at 7:23 AM, Simon Glass wrote: >> Bring in these functions from Linux v4.4. They will be needed for EFI loader >> support. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 3/6] arm: efi: Add a hello world test program

2016-08-09 Thread Simon Glass
Hi Bin, On 9 August 2016 at 00:50, Bin Meng wrote: > Hi Simon, > > On Sun, Aug 7, 2016 at 7:23 AM, Simon Glass wrote: >> It is useful to have a basic sanity check for EFI loader support. Add a >> 'bootefi hello' command which loads HelloWord.efi and runs

Re: [U-Boot] [PATCH v1 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-08-09 Thread maitysanchayan
Hello Lukasz, On 16-08-09 15:20:58, Lukasz Majewski wrote: > Hi maitysancha...@gmail.com, > > > Hello, > > > > Adding Lukasz's second mail ID to cc > > > > On 16-08-08 11:45:35, maitysancha...@gmail.com wrote: > > > Hello, > > > > > > On 16-08-03 17:13:11, Marek Vasut wrote: > > > > On

Re: [U-Boot] [PATCH] rockchip: rk3399: update MAINTAINER file

2016-08-09 Thread Andreas Färber
Am 09.08.2016 um 16:35 schrieb Simon Glass: > +Andreas > > On 9 August 2016 at 01:29, Kever Yang wrote: >> This patch add maintainer information for rk3399 evb. >> >> Signed-off-by: Kever Yang >> --- >> >>

Re: [U-Boot] [PATCH v1 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-08-09 Thread maitysanchayan
Hello Lukasz, On 16-08-09 15:25:50, Lukasz Majewski wrote: > Hi maitysancha...@gmail.com, > > > Hello, > > > > On 16-08-08 18:56:21, maitysancha...@gmail.com wrote: > > > Hello, > > > > > > Adding Lukasz's second mail ID to cc > > > > > > On 16-08-08 11:45:35, maitysancha...@gmail.com wrote:

Re: [U-Boot] [PATCH] rockchip: rk3399: update MAINTAINER file

2016-08-09 Thread Simon Glass
+Andreas On 9 August 2016 at 01:29, Kever Yang wrote: > This patch add maintainer information for rk3399 evb. > > Signed-off-by: Kever Yang > --- > > board/rockchip/evb_rk3399/MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH v2 3/3] CONFIG_EFI_LOADER breaks rock2 kernel loading

2016-08-09 Thread Simon Glass
Hi Sandy, On 8 August 2016 at 19:35, Sandy Patterson wrote: > I also found that once the barrier stuff was in, the EFI_LOADER change was > unnecessary. > > On Mon, Aug 8, 2016 at 8:50 PM, Ziyuan Xu wrote: >> >> Hi Simon, >> >> I think you can

Re: [U-Boot] [PATCH 0/7] efi_loader: Expose SMBIOS table

2016-08-09 Thread Simon Glass
Hi Alexander, On 9 August 2016 at 08:11, Alexander Graf wrote: > > On 08/09/2016 03:57 PM, Simon Glass wrote: >> >> Hi Alexander, >> >> On 9 August 2016 at 00:48, Alexander Graf wrote: >>> >>> Am 08.08.2016 um 23:44 schrieb Simon Glass :

Re: [U-Boot] [PATCH 0/7] efi_loader: Expose SMBIOS table

2016-08-09 Thread Alexander Graf
On 08/09/2016 03:57 PM, Simon Glass wrote: Hi Alexander, On 9 August 2016 at 00:48, Alexander Graf wrote: Am 08.08.2016 um 23:44 schrieb Simon Glass : Hi Alexander, On 8 August 2016 at 08:06, Alexander Graf wrote: We generate a few tables

Re: [U-Boot] [PATCH 0/7] efi_loader: Expose SMBIOS table

2016-08-09 Thread Simon Glass
Hi Alexander, On 9 August 2016 at 00:48, Alexander Graf wrote: > > >> Am 08.08.2016 um 23:44 schrieb Simon Glass : >> >> Hi Alexander, >> >>> On 8 August 2016 at 08:06, Alexander Graf wrote: >>> We generate a few tables on x86 today that really

Re: [U-Boot] [PATCH][v2] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-08-09 Thread Pratiyush Srivastava
> -Original Message- > From: Pratiyush Srivastava > Sent: Tuesday, August 09, 2016 11:45 AM > To: york sun ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha > Subject: RE: [PATCH][v2] board: ls1012afrdm: overwrite > CONFIG_EXTRA_ENV_SETTINGS >

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

2016-08-09 Thread Tom Rini
On Tue, Aug 09, 2016 at 05:33:59PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this request. > > thanks! > Jagan. > > The following changes since commit 08887ed4505ec14ee94ab32c482dc4dec5ddc1e4: > > ARM: am57xx_evm: Enable QSPI support (2016-07-30 00:15:07 +0530) > > are available

Re: [U-Boot] [v2] mmc: send CMD0 before CMD1 for some MMC cards

2016-08-09 Thread Yangbo Lu
Hi Jaehoon, Sure. And appreciate your good help :) Best regards, Yangbo Lu > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Tuesday, August 09, 2016 7:06 AM > To: Yangbo Lu; u-boot@lists.denx.de > Subject: Re: [v2] mmc: send CMD0 before CMD1 for some

Re: [U-Boot] [PATCH] armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS

2016-08-09 Thread Pratiyush Srivastava
> -Original Message- > From: york sun > Sent: Friday, August 05, 2016 9:47 PM > To: Pratiyush Srivastava ; u- > b...@lists.denx.de > Cc: Prabhakar Kushwaha > Subject: Re: [PATCH] armv8: ls1012a: Updating >

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-09 Thread Marcel Ziswiler
On Thu, 2016-08-04 at 11:12 +0200, Marek Vasut wrote: > On 08/04/2016 11:07 AM, Alban Bedel wrote: > > > > On Wed, 3 Aug 2016 15:23:30 + > > Marcel Ziswiler wrote: > > > > > > > > On Wed, 2016-08-03 at 15:51 +0200, Marek Vasut wrote: > > > > > > > > On

Re: [U-Boot] [PATCH v1 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-08-09 Thread Lukasz Majewski
Hi maitysancha...@gmail.com, > Hello, > > On 16-08-08 18:56:21, maitysancha...@gmail.com wrote: > > Hello, > > > > Adding Lukasz's second mail ID to cc > > > > On 16-08-08 11:45:35, maitysancha...@gmail.com wrote: > > > Hello, > > > > > > On 16-08-03 17:13:11, Marek Vasut wrote: > > > > On

Re: [U-Boot] [PATCH v1 1/4] usb: host: ehci-vf: Migrate Vybrid USB to driver model

2016-08-09 Thread Lukasz Majewski
Hi maitysancha...@gmail.com, > Hello, > > Adding Lukasz's second mail ID to cc > > On 16-08-08 11:45:35, maitysancha...@gmail.com wrote: > > Hello, > > > > On 16-08-03 17:13:11, Marek Vasut wrote: > > > On 08/03/2016 01:58 PM, Sanchayan Maity wrote: > > > > Add driver model support for Vybrid

Re: [U-Boot] [PATCH] net: asix: Fix ASIX 88772B with driver model

2016-08-09 Thread Marek Vasut
On 08/09/2016 02:14 PM, Marcel Ziswiler wrote: > On Thu, 2016-08-04 at 11:12 +0200, Marek Vasut wrote: >> On 08/04/2016 11:07 AM, Alban Bedel wrote: >>> >>> On Wed, 3 Aug 2016 15:23:30 + >>> Marcel Ziswiler wrote: >>> On Wed, 2016-08-03 at 15:51 +0200,

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

2016-08-09 Thread Jagan Teki
Hi Tom, Please pull this request. thanks! Jagan. The following changes since commit 08887ed4505ec14ee94ab32c482dc4dec5ddc1e4: ARM: am57xx_evm: Enable QSPI support (2016-07-30 00:15:07 +0530) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to fetch

  1   2   >