[U-Boot] [PATCH v3] ARM: tegra: Add Tegra20 SPI device nodes

2015-08-19 Thread Mirza Krak
From: Mirza Krak Add the device tree node for the SPI controllers found on Tegra20 SOCs. Signed-off-by: Mirza Krak --- Changes in v2: * Dropped tegra30-slink compatible string, based on comment from Thierry Reding on v1 patch Changes in v3: * Copy/paste spi device nodes from Linux (4.1.6

[U-Boot] [PATCH v2] ARM: tegra: Add Tegra20 SPI device nodes

2015-07-21 Thread Mirza Krak
From: Mirza Krak Add the device tree node for the SPI controllers found on Tegra20 SOCs. Signed-off-by: Mirza Krak --- Changes in v2: * Dropped tegra30-slink compatible string, based on comment from Thierry Reding on v1 patch arch/arm/dts/tegra20.dtsi | 44

Re: [U-Boot] [PATCH 1/1] ARM: tegra: Add Tegra20 SPI device nodes

2015-07-21 Thread Mirza Krak
2015-07-21 11:02 GMT+02:00 Thierry Reding : > > On Mon, Jul 20, 2015 at 01:41:00PM +0200, Mirza Krak wrote: > > From: Mirza Krak > > > > Add the device tree node for the SPI controllers found on Tegra20 SOCs. > > > > Signed-off-by: Mirza Krak > > &

Re: [U-Boot] [PATCH v2] ARM: tegra: Add Tegra20 SPI device nodes

2015-07-21 Thread Mirza Krak
iga Hälsningar / Best Regards ******* Mirza Krak Host Mobility AB mirza.k...@hostmobility.com Anders Personsgatan 12, 416 64 Göteborg Sweden http://www.hostmobility.com Direct: +46 31 31 32 704 Phone: +46 31 31 32 700 Fax: +46 31 80 6

Re: [U-Boot] [PATCH 1/1] spi: tegra20: Add support for mode selection

2015-09-03 Thread Mirza Krak
ping 2015-07-20 13:56 GMT+02:00 Mirza Krak : > From: Mirza Krak > > Respect the mode passed in claim_bus call. > > Signed-off-by: Mirza Krak > --- > drivers/spi/tegra20_slink.c | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/drivers

Re: [U-Boot] [PATCH 1/1] spi: tegra20: Add support for mode selection

2015-09-04 Thread Mirza Krak
DA; or am I wrong? But I can agree that it is easier to read/follow your suggestion. -- Med Vänliga Hälsningar / Best Regards ******* Mirza Krak Host Mobility AB mirza.k...@hostmobility.com Anders Personsgatan 12, 416 64 Göteborg Swed

[U-Boot] [PATCH v2] spi: tegra20: Add support for mode selection

2015-09-07 Thread Mirza Krak
From: Mirza Krak Respect the mode passed in claim_bus call. Signed-off-by: Mirza Krak --- Changes in v2: * Refactor clearing the CPOL and CPHA bits. Based on comments from Jagan Teki. drivers/spi/tegra20_slink.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers

[U-Boot] [PATCH v3] spi: tegra20: Add support for mode selection

2015-09-08 Thread Mirza Krak
From: Mirza Krak Respect the mode passed in set_mode ops. Signed-off-by: Mirza Krak --- Changes in v3: * Move mode selection to .set_mode ops from .claim_bus ops Changes in v2: * Refactor clearing the CPOL and CPHA bits. Based on comments from Jagan Teki. drivers/spi/tegra20_slink.c | 21

[U-Boot] [PATCH 1/1] ARM: tegra: Add Tegra20 SPI device nodes

2015-07-20 Thread Mirza Krak
From: Mirza Krak Add the device tree node for the SPI controllers found on Tegra20 SOCs. Signed-off-by: Mirza Krak --- arch/arm/dts/tegra20.dtsi | 44 1 file changed, 44 insertions(+) diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20

[U-Boot] [PATCH 1/1] spi: tegra20: Add support for mode selection

2015-07-20 Thread Mirza Krak
From: Mirza Krak Respect the mode passed in claim_bus call. Signed-off-by: Mirza Krak --- drivers/spi/tegra20_slink.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/spi/tegra20_slink.c b/drivers/spi/tegra20_slink.c index f6fb89b393f0..271e2adbb2e1 100644 --- a

Re: [U-Boot] [PATCH] spi: tegra20: fix mode selection logic

2016-08-13 Thread Mirza Krak
d along the way that "broke" it? > > Fixes: 5cb1b7b395c0 ("spi: tegra20: Add support for mode selection") > Cc: Mirza Krak > Signed-off-by: Stephen Warren > --- > As far as I can tell, the fixed patch was never CC'd to any Tegra > maintainer:-( This patch

Re: [U-Boot] [PATCH] spi: tegra20: fix mode selection logic

2016-08-13 Thread Mirza Krak
2016-08-13 10:51 GMT+02:00 Mirza Krak : > 2016-08-12 23:06 GMT+02:00 Stephen Warren : >> From: Stephen Warren >> >> When the set_mode() function runs, the SPI bus is not active, and hence >> the clocks to the SPI controller are not running. Any register read/write &g

[U-Boot] fatls returncode

2017-03-23 Thread Mirza Krak
goto exit; 1147 } -- Med Vänliga Hälsningar / Best Regards *** Mirza Krak Host Mobility AB mirza.k...@hostmobility.com Anders Personsgatan 12, 416 64 Göteborg Sweden http://www.hostmobility.com Direct: +46 31 31 32 70

Re: [U-Boot] fatls returncode

2017-04-04 Thread Mirza Krak
it should be but there is no indications in the code/comments that this exit path is an error. -- Med Vänliga Hälsningar / Best Regards *** Mirza Krak Host Mobility AB mirza.k...@hostmobility.com Anders Personsgatan 12, 416 64

Re: [U-Boot] fatls returncode

2017-04-04 Thread Mirza Krak
; > fat: fix crash with big sector size > > > Sergei, do you agree that ret = 0 should be set before the "goto > exit" here? I also found the commit that removed the "ret = 0" since it did indeed exist earlier. 1ad0b98a067a ("fat: Prepare API ch

[U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-11-28 Thread Mirza Krak
From: Mirza Krak Recently the default UART clock rate has been changed to 48 MHz on all pi`s in the firmware files, which broke UART support in u-boot. Align configuration to boot firmware. Signed-off-by: Mirza Krak --- It was changed here https://github.com/raspberrypi/firmware/commit

Re: [U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-11-30 Thread Mirza Krak
2016-11-30 5:05 GMT+01:00 Stephen Warren : > On 11/27/2016 11:05 PM, Mirza Krak wrote: >> >> From: Mirza Krak >> >> Recently the default UART clock rate has been changed to 48 MHz on all >> pi`s in the firmware files, which broke UART support in u-boot. >>

Re: [U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-12-01 Thread Mirza Krak
2016-11-30 19:07 GMT+01:00 Stephen Warren : > On 11/29/2016 11:47 PM, Mirza Krak wrote: >> >> 2016-11-30 5:05 GMT+01:00 Stephen Warren : >>> >>> On 11/27/2016 11:05 PM, Mirza Krak wrote: >>>> >>>> >>>> From: Mirza Krak >>

[U-Boot] check_config.sh produces false positive error?

2016-12-04 Thread Mirza Krak
Hi. Recently a check was added to if new ad-hoc CONFIG options where added and produced an error. The exact commit is [1]. While building (2016.11) with some out of tree files in include folder I get the following error: Build error: | Error: You must add new CONFIG options using Kconfig | The f

Re: [U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-12-04 Thread Mirza Krak
2016-12-01 10:34 GMT+01:00 Mirza Krak : > 2016-11-30 19:07 GMT+01:00 Stephen Warren : >> On 11/29/2016 11:47 PM, Mirza Krak wrote: >>> >>> 2016-11-30 5:05 GMT+01:00 Stephen Warren : >>>> >>>> On 11/27/2016 11:05 PM, Mirza Krak wrote: >>&

Re: [U-Boot] check_config.sh produces false positive error?

2016-12-05 Thread Mirza Krak
2016-12-05 17:34 GMT+01:00 Tom Rini : > On Sun, Dec 04, 2016 at 08:52:35PM +0100, Mirza Krak wrote: >> Hi. >> >> Recently a check was added to if new ad-hoc CONFIG options where added >> and produced an error. The exact commit is [1]. >> >> While building (