Re: [U-Boot] [PATCH] cfi_flash: don't hide write/erase errors

2014-10-05 Thread Baruch Siach
Hi Stefan, On Thu, Sep 04, 2014 at 12:23:09PM +0300, Baruch Siach wrote: > Partially revert commit 0d01f66d235118 (CFI: cfi_flash write fix for AMD > legacy). > > flash_full_status_check() used to skip status register parsing when > flash_status_check() returns OK. This is wrong since flash_statu

Re: [U-Boot] [PATCH 2/2] arm: mx6: cm_fx6: use gpio request

2014-10-05 Thread Igor Grinberg
On 10/05/14 21:32, Simon Glass wrote: > Hi Igor, > > On 5 October 2014 04:52, Igor Grinberg wrote: >> Hi Simon, >> >> On 10/03/14 17:04, Simon Glass wrote: >>> Hi Igor, >>> >>> >>> On 3 October 2014 01:41, Igor Grinberg wrote: Hi Simon, On 10/02/14 22:22, Simon Glass wrote:

Re: [U-Boot] [PATCH for-next 0/3] sunxi: Kconfig consolidation and cleanup

2014-10-05 Thread Masahiro Yamada
Hi Ian, On Sat, 04 Oct 2014 10:32:04 +0100 Ian Campbell wrote: > On Sat, 2014-10-04 at 09:47 +0100, Ian Campbell wrote: > > Probably the board [...] selection could be moved out > > without any dependencies, although the board one in particular will be > > quite a big patch I think it would be w

Re: [U-Boot] [PATCH for-next 2/3] sunxi: kconfig: Add top-level TARGET_SUNXI

2014-10-05 Thread Masahiro Yamada
Hi Ian, On Sat, 4 Oct 2014 09:48:11 +0100 Ian Campbell wrote: > And make TARGET_SUN[457]I a choice variable under this. > > configs updated with: > sed -i -e 's/^\+S:CONFIG_TARGET_SUN.I=y/+S:CONFIG_TARGET_SUNXI=y\n&/g' > configs/* > > Signed-off-by: Ian Campbell Perhaps, is ARCH_SUNXI

Re: [U-Boot] [PATCH] lsxl: convert to generic board and fix typo

2014-10-05 Thread Michael Walle
Am Sonntag, 28. September 2014, 00:05:23 schrieb Michael Walle: > Besides converting the LS-XHL and LS-CHLv2 to generic board, fix a typo > which accidentally reverted the bootsource to 'hdd' although the default > bootsource should be 'legacy'. > > Cc: Tom Rini > Cc: Prafulla Wadaskar > Signed-

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Marek Vasut
On Sunday, October 05, 2014 at 10:35:06 PM, Maxime Hadjinlian wrote: > On Sun, Oct 5, 2014 at 10:28 PM, Marek Vasut wrote: > > On Sunday, October 05, 2014 at 09:51:27 PM, Maxime Hadjinlian wrote: > >> On Sun, Oct 5, 2014 at 9:45 PM, Marek Vasut wrote: > >> > On Sunday, October 05, 2014 at 09:27:0

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Maxime Hadjinlian
On Sun, Oct 5, 2014 at 10:28 PM, Marek Vasut wrote: > On Sunday, October 05, 2014 at 09:51:27 PM, Maxime Hadjinlian wrote: >> On Sun, Oct 5, 2014 at 9:45 PM, Marek Vasut wrote: >> > On Sunday, October 05, 2014 at 09:27:00 PM, Maxime Hadjinlian wrote: >> >> On Sun, Oct 5, 2014 at 9:19 PM, wrote:

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Marek Vasut
On Sunday, October 05, 2014 at 09:51:27 PM, Maxime Hadjinlian wrote: > On Sun, Oct 5, 2014 at 9:45 PM, Marek Vasut wrote: > > On Sunday, October 05, 2014 at 09:27:00 PM, Maxime Hadjinlian wrote: > >> On Sun, Oct 5, 2014 at 9:19 PM, wrote: > >> >> On Sunday, October 05, 2014 at 08:40:26 PM, Maxim

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Maxime Hadjinlian
On Sun, Oct 5, 2014 at 9:45 PM, Marek Vasut wrote: > On Sunday, October 05, 2014 at 09:27:00 PM, Maxime Hadjinlian wrote: >> On Sun, Oct 5, 2014 at 9:19 PM, wrote: >> >> On Sunday, October 05, 2014 at 08:40:26 PM, Maxime Hadjinlian wrote: >> >> > Hi Thomas, all, >> >> > >> >> > On Sun, Oct 5, 20

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Marek Vasut
On Sunday, October 05, 2014 at 09:27:00 PM, Maxime Hadjinlian wrote: > On Sun, Oct 5, 2014 at 9:19 PM, wrote: > >> On Sunday, October 05, 2014 at 08:40:26 PM, Maxime Hadjinlian wrote: > >> > Hi Thomas, all, > >> > > >> > On Sun, Oct 5, 2014 at 7:43 PM, wrote: > >> > > Hello Maxime, > >> > > >

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Maxime Hadjinlian
On Sun, Oct 5, 2014 at 9:19 PM, wrote: >> On Sunday, October 05, 2014 at 08:40:26 PM, Maxime Hadjinlian wrote: >> > Hi Thomas, all, >> > >> > On Sun, Oct 5, 2014 at 7:43 PM, wrote: >> > > Hello Maxime, >> > > >> > > can you explain the usecase? >> > > I think, only the erase is executed per sec

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread thomas.langer
> On Sunday, October 05, 2014 at 08:40:26 PM, Maxime Hadjinlian wrote: > > Hi Thomas, all, > > > > On Sun, Oct 5, 2014 at 7:43 PM, wrote: > > > Hello Maxime, > > > > > > can you explain the usecase? > > > I think, only the erase is executed per sector, all other commands are > > > working fine wi

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Marek Vasut
On Sunday, October 05, 2014 at 08:40:26 PM, Maxime Hadjinlian wrote: > Hi Thomas, all, > > On Sun, Oct 5, 2014 at 7:43 PM, wrote: > > Hello Maxime, > > > > can you explain the usecase? > > I think, only the erase is executed per sector, all other commands are > > working fine with a byte orient

Re: [U-Boot] [PATCH fix for v2014.10 0/1] sunxi: Fix gmac not working reliable on the Bananapi

2014-10-05 Thread Karsten Merker
On Tue, Sep 30, 2014 at 06:45:31PM +0200, Hans de Goede wrote: > Hi Tom, > > Here is a last minute sunxi bug-fix for v2014.10, which fixes the ethernet on > the bananapi being unusable. > > Ian and I (the sunxi custodians) would like to see this included in v2014.10, > can you please apply it to

Re: [U-Boot] [PATCH v5 0/15] samsung: Use common config files with Samsung boards

2014-10-05 Thread Simon Glass
Hi Minkyu, On 1 October 2014 21:44, Simon Glass wrote: > Hi Minkyu, > > On 1 October 2014 21:43, Simon Glass wrote: >> This series tries to unify the Samsung board configs into a few header >> files for exynos5 and exynos4. >> >> The purpose is to make it easier to move to driver model. In that

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Maxime Hadjinlian
Hi Thomas, all, On Sun, Oct 5, 2014 at 7:43 PM, wrote: > Hello Maxime, > > can you explain the usecase? > I think, only the erase is executed per sector, all other commands are > working fine with a byte oriented length. I need to write a file that is downloaded through TFTP. So I can get the f

Re: [U-Boot] [PATCH 2/2] arm: mx6: cm_fx6: use gpio request

2014-10-05 Thread Simon Glass
Hi Igor, On 5 October 2014 04:52, Igor Grinberg wrote: > Hi Simon, > > On 10/03/14 17:04, Simon Glass wrote: >> Hi Igor, >> >> >> On 3 October 2014 01:41, Igor Grinberg wrote: >>> Hi Simon, >>> >>> On 10/02/14 22:22, Simon Glass wrote: Hi Nikita, On 2 October 2014 08:17, Nikita Ki

Re: [U-Boot] [PATCH 3/4] dm: do not check dm_root before searching in uclass_root

2014-10-05 Thread Simon Glass
Hi Masahiro, On 28 September 2014 20:39, Masahiro Yamada wrote: > Hi Simon, > > > On Sun, 28 Sep 2014 10:18:59 -0600 > Simon Glass wrote: > >> Hi Masahiro, >> >> On 28 September 2014 09:54, Masahiro YAMADA >> wrote: >> > Simon, >> > >> > >> > 2014-09-29 0:17 GMT+09:00 Simon Glass : >> >> Hi Ma

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread thomas.langer
Hello Maxime, can you explain the usecase? I think, only the erase is executed per sector, all other commands are working fine with a byte oriented length. Best regards, Thomas --- Sent from my phone. Maxime Hadjinlian hat geschrieben: This patch adds [+]len handler for the all the commands

[U-Boot] [PATCH] tftp: Displace check for server ip

2014-10-05 Thread Maxime Hadjinlian
If for some reason, 'serverip' is not set, and you are passing the remote IP on the command line, the tftp command will fail, stating that the 'serverip' is not set. By displacing this check, it fixes the issues. Signed-off-by: Maxime Hadjinlian --- net/net.c | 6 -- net/tftp.c | 4

Re: [U-Boot] [linux-sunxi] [PATCH 0/3] ARM: sunxi: Fix reset support on sun6i/sun8i

2014-10-05 Thread Julian Calaby
Hi, On Sun, Oct 5, 2014 at 1:12 AM, Chen-Yu Tsai wrote: > Hi, > > On Sat, Oct 4, 2014 at 11:02 PM, Julian Calaby > wrote: >> Hi, >> >> On Sat, Oct 4, 2014 at 10:37 PM, Chen-Yu Tsai wrote: >>> Hi, >>> >>> This series fixes support for the reset command on sun6i/sun8i. >>> The watchdog hardware

[U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-05 Thread Maxime Hadjinlian
This patch adds [+]len handler for the all the commands that will automatically round up the requested erase length to the flash's sector_size. It was previously only available for the erase command. Signed-off-by: Maxime Hadjinlian --- common/cmd_sf.c | 12 ++-- 1 file changed, 6 inser

Re: [U-Boot] [linux-sunxi] [PATCH 0/3] ARM: sunxi: Fix reset support on sun6i/sun8i

2014-10-05 Thread Julian Calaby
Hi, On Sat, Oct 4, 2014 at 10:37 PM, Chen-Yu Tsai wrote: > Hi, > > This series fixes support for the reset command on sun6i/sun8i. > The watchdog hardware has changed in sun6i, both the register > addresses and definitions. This makes the reset command unusable > on sun6i. Doesn't this break bui

Re: [U-Boot] [PATCH 4/6] sunxi: When we've both mmc0 and mmc2, detect from which one we're booting

2014-10-05 Thread Hans de Goede
On 10/04/2014 10:35 AM, Ian Campbell wrote: > On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: >> sunxi SOCs can boot from both mmc0 and mmc2, detect from which one we're >> booting, and make that one "mmc dev 0" so that a single u-boot binary can >> be used for both the onboard eMMC and f

Re: [U-Boot] [PATCH 3/6] sunxi: Turn MMC_SUNXI_SLOT_EXTRA into a proper Kconfig option

2014-10-05 Thread Hans de Goede
Hi, On 10/04/2014 10:32 AM, Ian Campbell wrote: > On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: >> Note we also drop the SPL check for initializing the 2nd mmc slot, the SPL >> check is not necessary with Kconfig, because only options explicitly marked >> as also being for the SPL get se

Re: [U-Boot] [PATCH 2/6] sunxi: Add mmc card-detect functionality

2014-10-05 Thread Hans de Goede
Hi, On 10/04/2014 10:30 AM, Ian Campbell wrote: > On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: >> Signed-off-by: Hans de Goede >> --- >> board/sunxi/Kconfig | 27 +++ >> drivers/mmc/sunxi_mmc.c | 20 >> 2 files changed, 47 insertions(+)

Re: [U-Boot] [PATCH 07/23] dm: sunxi: Add support for serial using driver model

2014-10-05 Thread Chen-Yu Tsai
Hi, On Sun, Oct 5, 2014 at 1:29 AM, Simon Glass wrote: > Add a driver for the designware serial UART used on sunxi. This just > redirects to the normal ns16550 driver. > > Add a stdout-path to the device tree so that the correct UART is chosen. > > Signed-off-by: Simon Glass > --- > > arch/arm/

Re: [U-Boot] [PATCH 1/6] sunxi: Add sunxi_gpio_get_val function

2014-10-05 Thread Hans de Goede
Hi Ian, Thanks for the reviews! On 10/04/2014 10:14 AM, Ian Campbell wrote: > On Fri, 2014-10-03 at 17:05 +0200, Hans de Goede wrote: >> Signed-off-by: Hans de Goede > > drivers/gpio/sunxi_gpio.c already has sunxi_gpio_input exported via the > standard gpio_get_value name. Oops, I actually alr

Re: [U-Boot] [PATCH 2/2] arm: mx6: cm_fx6: use gpio request

2014-10-05 Thread Igor Grinberg
Hi Simon, On 10/03/14 17:04, Simon Glass wrote: > Hi Igor, > > > On 3 October 2014 01:41, Igor Grinberg wrote: >> Hi Simon, >> >> On 10/02/14 22:22, Simon Glass wrote: >>> Hi Nikita, >>> >>> On 2 October 2014 08:17, Nikita Kiryanov wrote: Use gpio_request for all the gpios that are utiliz

Re: [U-Boot] [PATCH 1/4] ahci: Don't start command DMA engine before buffers are set

2014-10-05 Thread Ian Campbell
On Tue, 2014-09-23 at 18:07 +0300, Roger Quadros wrote: > The DMA/FIS buffers are set in ahci_port_start() which is called > after ahci_host_init(). So don't start the DMA engine here > (i.e. don't set FIS_RX) > > This fixes the following error at kernel boot on OMAP platforms (e.g. DRA7x) > WARNI