On 11.07.2018 15:50, Maxime Ripard wrote:
On Wed, Jul 11, 2018 at 12:44:23PM +0200, Nicholas wrote:
Maybe a solution could be to have an env_save() function which
acts in a similar way as proposed in my patch and an
env_save_prio() function, which acts like the env_load()
i.e. looking for the
On Sat, Jun 30, 2018 at 5:32 AM, Adam Sampson wrote:
> Use the driver model for MMC and SATA, in preparation for CONFIG_BLK
> defaulting to y.
>
> Tested on A10 Cubieboard.
Did you test eMMC in any of A10 look it is not detecting during SD
boot and vice-versa happened during eMMC boot. May be it'
On Wed, 2018-07-11 at 14:13 -0600, Simon Glass wrote:
> Hi Tien,
>
> On 6 July 2018 at 02:28, wrote:
> >
> > From: Tien Fong Chee
> >
> > This is file system generic loader which can be used to load
> > the file image from the storage into target such as memory.
> > The consumer driver would
On Wed, 2018-07-11 at 08:02 -0600, Simon Glass wrote:
> On 6 July 2018 at 02:27, wrote:
> >
> > From: Tien Fong Chee
> >
> > Add a document to describe file system firmware loader binding
> > information.
> >
> > Signed-off-by: Tien Fong Chee
> > ---
> > doc/device-tree-bindings/chosen.txt
On 06/25/2018 02:56 PM, Tom Rini wrote:
> On Mon, Jun 25, 2018 at 08:15:34AM +0200, Michal Simek wrote:
>> Hi,
>>
>> On 22.6.2018 21:28, Simon Glass wrote:
>>> Hi,
>>>
>>> On 22 June 2018 at 01:41, Michal Simek wrote:
Hi Simon,
On 18.6.2018 08:18, Siva Durga Prasad Paladugu wrote:
>
On Thu, Jul 12, 2018 at 09:02:26AM +0200, Simon Goldschmidt wrote:
>
>
> On 11.07.2018 15:50, Maxime Ripard wrote:
> > On Wed, Jul 11, 2018 at 12:44:23PM +0200, Nicholas wrote:
> > > > > > Maybe a solution could be to have an env_save() function which
> > > > > > acts in a similar way as proposed
On 07/12/2018 01:13 PM, Ley Foon Tan wrote:
> Commit 5dfd5607af2114047bd ("ARM: socfpga: Pull DRAM size from DT") get
> memory size from DT. So, we need to update memory size in memory node.
> Otherwise, it cause U-boot hang.
>
> Signed-off-by: Ley Foon Tan
> ---
> arch/arm/dts/socfpga_stratix10
On 07/12/2018 01:13 PM, Ley Foon Tan wrote:
> MCR instruction only available in ARM 32-bit. So, compile MCR instruction
> when ARM 32-bit is enabled.
>
> Signed-off-by: Ley Foon Tan
> ---
> arch/arm/mach-socfpga/board.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-so
On 07/12/2018 01:12 PM, Ley Foon Tan wrote:
> Commit bfc6bae8fa1f2d8a9c51548767b02f1a1e0ffe52
>
> This commit rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET. Update
> with new CONFIG name.
>
> Signed-off-by: Ley Foon Tan
> Acked-by: Marek Vasut
>
> ---
> v2:
> - Rename commit title, ad
On Thu, Jul 12, 2018 at 12:40:14PM +0530, Jagan Teki wrote:
> On Sat, Jun 30, 2018 at 5:32 AM, Adam Sampson wrote:
> > Use the driver model for MMC and SATA, in preparation for CONFIG_BLK
> > defaulting to y.
> >
> > Tested on A10 Cubieboard.
>
> Did you test eMMC in any of A10 look it is not det
Fix compilation warning when enable CONFIG_DEBUG_UART.
arch/arm/mach-socfpga/spl_s10.c: In function ‘board_init_f’:
arch/arm/mach-socfpga/spl_s10.c:146:2: warning: implicit declaration of
function ‘debug_uart_init’; did you mean ‘part_init’?
[-Wimplicit-function-declaration]
debug_uart_init();
Provide proper dependencies for LIBAVB: (FASTBOOT and !BLK):
1. CONFIG_FASTBOOT is needed, as fastboot buffer is re-used (which
is initially used in the fastboot protocol for downloads)
2. !CONFIG_BLK, as current implementation currently
doesn't support non-legacy block API.
Reported-by: Eugeniu R
On Thu, Jul 12, 2018 at 1:00 PM, Maxime Ripard
wrote:
> On Thu, Jul 12, 2018 at 12:40:14PM +0530, Jagan Teki wrote:
>> On Sat, Jun 30, 2018 at 5:32 AM, Adam Sampson wrote:
>> > Use the driver model for MMC and SATA, in preparation for CONFIG_BLK
>> > defaulting to y.
>> >
>> > Tested on A10 Cubie
On Thu, Jul 12, 2018 at 01:13:04PM +0530, Jagan Teki wrote:
> On Thu, Jul 12, 2018 at 1:00 PM, Maxime Ripard
> wrote:
> > On Thu, Jul 12, 2018 at 12:40:14PM +0530, Jagan Teki wrote:
> >> On Sat, Jun 30, 2018 at 5:32 AM, Adam Sampson wrote:
> >> > Use the driver model for MMC and SATA, in preparat
Hi Heiko,
> -Original Message-
> From: Heiko Schocher [mailto:h...@denx.de]
> Sent: Thursday, July 12, 2018 13:44
> To: Ran Wang
> Cc: Sriram Dash ; Rajesh Bhagat
> ; Suresh Gupta ; u-
> b...@lists.denx.de
> Subject: ls1021a: problem with errata A009007
>
> Hello Ran Wang,
>
> I have po
On 07/12/2018 03:44 PM, Ley Foon Tan wrote:
> Fix compilation warning when enable CONFIG_DEBUG_UART.
>
> arch/arm/mach-socfpga/spl_s10.c: In function ‘board_init_f’:
> arch/arm/mach-socfpga/spl_s10.c:146:2: warning: implicit declaration of
> function ‘debug_uart_init’; did you mean ‘part_init’?
Hi Boris,
Boris Brezillon wrote on Thu, 12 Jul 2018
00:20:52 +0200:
> On Wed, 11 Jul 2018 17:25:12 +0200
> Miquel Raynal wrote:
>
> > Some MTD sublayers/drivers are implementing ->_read/write() and
> > not ->_read/write_oob().
> >
> > While for NAND devices both are usually valid, for NOR dev
Hello Mark,
Am 12.07.2018 um 07:38 schrieb Mark Spieth:
On 12/07/18 15:22, Heiko Schocher wrote:
Hello Mark,
added Richard Weinberger to cc...
Am 12.07.2018 um 02:28 schrieb Mark Spieth:
Hi
In the process of investigating a boot failure on one of our devices, the
UBI: fixable bit-flip det
Hello Ran Wang,
Am 12.07.2018 um 10:04 schrieb Ran Wang:
Hi Heiko,
-Original Message-
From: Heiko Schocher [mailto:h...@denx.de]
Sent: Thursday, July 12, 2018 13:44
To: Ran Wang
Cc: Sriram Dash ; Rajesh Bhagat
; Suresh Gupta ; u-
b...@lists.denx.de
Subject: ls1021a: problem with errat
On Thu, Jul 12, 2018 at 12:40:14PM +0530, Jagan Teki wrote:
> Did you test eMMC in any of A10 look it is not detecting during SD
> boot and vice-versa happened during eMMC boot. May be it's because of
> pincrtrl for U-Boot which is not initializing for in DM_MMC.
No, I don't have any boards with e
Mark,
Am Donnerstag, 12. Juli 2018, 07:22:13 CEST schrieb Heiko Schocher:
> Hello Mark,
>
> added Richard Weinberger to cc...
>
> Am 12.07.2018 um 02:28 schrieb Mark Spieth:
> > Hi
> >
> > In the process of investigating a boot failure on one of our devices, the
> >
> > UBI: fixable bit-flip d
On 30.05.2018 19:01, Stefan Agner wrote:
> From: Stefan Agner
>
> This patchset adds Toradex Colibri iMX6ULL support. It makes
> use of the device tree support for the MXS NAND driver and
> hence depends on:
> https://patchwork.ozlabs.org/cover/897263/
> https://patchwork.ozlabs.org/cover/901995/
Hello Patrice,
Am 27.06.2018 um 10:06 schrieb Patrice Chotard:
From: Christophe Kerello
By checking ubifs source code, s_instances parameter is not
used anymore. So, set this parameter and the associated source
code under __UBOOT__ compilation.
Signed-off-by: Christophe Kerello
Signed-off-by
Hello Stefan,
Am 26.06.2018 um 08:12 schrieb Stefan Roese:
When trying to attach an UBI MTD partition via "ubi part", it may happen
that the MTD partition defined in U-Boot (via mtdparts) is not big
enough than the one, where the UBI device has been created on. This
may lead to errors, which are
Hello Stefan,
Am 25.06.2018 um 11:19 schrieb Stefan Agner:
From: Stefan Agner
When using static volumes, the file size stored in the volume is
determined at runtime. Currently the ubi command prints the file
size specified on the console, which leads to a rather confusing
series of messages:
Hello Tom,
please pull from u-boot-ubi.git master
The following changes since commit 1612ff0dfba57b1002d8c7a54778eb553ace98f4:
Merge branch 'master' of git://git.denx.de/u-boot-mips (2018-07-11 21:55:20
-0400)
are available in the Git repository at:
git://git.denx.de/u-boot-ubi.git maste
Hi Heiko
> -Original Message-
> >> Subject: ls1021a: problem with errata A009007
> >>
> >> Hello Ran Wang,
> >>
> >> I have ported successfully U-Boot to an ls1021a based board and works
> >> nice for the HW I have access to.
> >>
> >> Now the customer reports problems on his HW with
> >>
Version 1:
- Initial commit:
This serie contains all patchsets needed for displaying a splash screen
on the stm32f769 disco board.
A new config has been created configs/stm32f769-disco_defconfig.
This is necessary due to the difference of panels between stm32f769-disco &
stm32f746-disco boards.
Get timings from panel instead of read device tree.
Signed-off-by: Yannick Fertré
---
drivers/video/panel-uclass.c | 11 +++
include/panel.h | 18 ++
2 files changed, 29 insertions(+)
diff --git a/drivers/video/panel-uclass.c b/drivers/video/panel-uclass.c
i
Manage a bridge insert between the display controller & a panel.
Signed-off-by: Yannick Fertré
---
drivers/video/stm32/stm32_ltdc.c | 154 +++
1 file changed, 92 insertions(+), 62 deletions(-)
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm3
Mipi_display.c contains a set of dsi helpers.
This file is a copy of file drm_mipi_dsi.c (linux kernel).
Signed-off-by: Yannick Fertré
---
drivers/video/Kconfig| 9 +
drivers/video/Makefile | 1 +
drivers/video/mipi_display.c | 817 +++
i
Support for Orise Tech otm8009a 480p dsi 2dl video mode panel.
Signed-off-by: Yannick Fertré
---
drivers/video/Kconfig | 8 +
drivers/video/Makefile | 1 +
drivers/video/orisetech_otm8009a.c | 366 +
3 files changed, 375 insertions
Enable the display controller, mipi dsi bridge & panel.
Set panel display timings.
Signed-off-by: Yannick Fertré
---
arch/arm/dts/stm32f769-disco.dts | 59
1 file changed, 59 insertions(+)
diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm/dts/stm3
Support for Raydium RM68200 720p dsi 2dl video mode panel.
This rm68200 panel driver is based on the Linux Kernel driver from
drivers/gpu/drm/panel/panel-raydium-rm68200.c.
Signed-off-by: Yannick Fertré
---
drivers/video/Kconfig | 8 +
drivers/video/Makefile | 1 +
drivers
Add a Synopsys Designware MIPI DSI host bridge driver, based on the
Rockchip version from rockchip/dw-mipi-dsi.c with phy & bridge APIs.
Signed-off-by: Yannick Fertré
---
drivers/video/Kconfig | 9 +
drivers/video/Makefile | 1 +
drivers/video/dw_mipi_dsi.c | 826 +
Add the STM32 DSI controller driver that uses the Synopsys DesignWare
MIPI DSI host controller bridge.
Signed-off-by: Yannick Fertré
---
drivers/video/stm32/Kconfig | 10 +
drivers/video/stm32/Makefile| 1 +
drivers/video/stm32/stm32_dsi.c | 427 +++
Signed-off-by: Yannick Fertré
---
configs/stm32f769-disco_defconfig | 67 +++
1 file changed, 67 insertions(+)
create mode 100644 configs/stm32f769-disco_defconfig
diff --git a/configs/stm32f769-disco_defconfig
b/configs/stm32f769-disco_defconfig
new file mo
Add mipi dsi bridge node in device-tree.
Signed-off-by: Yannick Fertré
---
arch/arm/dts/stm32f746.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index afa7832..005d267 100644
--- a/arch/arm/dts/stm32f746.dtsi
+++ b
Hi Igor,
Thanks for the fix. See my comments below.
On Thu, Jul 12, 2018 at 10:34:24AM +0300, Igor Opaniuk wrote:
> Provide proper dependencies for LIBAVB: (FASTBOOT and !BLK):
> 1. CONFIG_FASTBOOT is needed, as fastboot buffer is re-used (which
> is initially used in the fastboot protocol for do
When called with ENVOP_SAVE, env_get_location() only returns the
gd->env_load_location variable without actually checking for
the environment location and priority.
This behaviour causes env_save() to fall into an infinite loop when
the low-level drv->save() call fails.
The env_save() function sh
On 12.07.2018 12:52, Nicholas Faustini wrote:
When called with ENVOP_SAVE, env_get_location() only returns the
gd->env_load_location variable without actually checking for
the environment location and priority.
This behaviour causes env_save() to fall into an infinite loop when
the low-level d
rockusb protocol has been introduced by Eddie Cai in U-Boot mainline
allowing to write internal eMMC of RK3288 based boards (and potentially
all other Rockchip's CPUs).
On workstation side the open source project rkdeveloptool do implement
the rockusb protocol. You can find it on GitHub here:
http
Chip Version is a string saved in BOOTROM address space Little Endian.
Ex for rk3288: 0x33323041 0x32303134 0x30383133 0x56323030
which brings: 320A20140813V200
Note that memory version do invert MSB/LSB so printing the char
buffer would show: A02341023180002V
Signed-off-by: Alberto Panizzo
--
Two consecutive rockusb_tx_write without waiting for request complete
do results in transfer reset of first request and thus no or incomplete
data transfer. This because rockusb_tx_write do use just one USB request
to keep serialization.
So calls like:
rockusb_tx_write_str(emmc_id);
rockusb_tx_wri
This allows rockusb code to reply correctly to K_FW_GET_CHIP_VER
command.
On RK3288 chip version is at 0x4ff0 and on tested hardware it
corresponds at the string "320A20140813V200"
Signed-off-by: Alberto Panizzo
---
arch/arm/mach-rockchip/rk3288/Makefile | 1 +
arch/arm/mach-rockch
Workstation tool was happy while console on device were printing
random numbers..
Signed-off-by: Alberto Panizzo
---
drivers/usb/gadget/f_rockusb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/f_rockusb.c b/drivers/usb/gadget/f_rockusb.c
index 0959b8c..5
While downloading or uploading megabytes of data we had thousands of
printf in console like:
transfer 0x1 bytes done
OR
Uploading 0x1000 bytes
This because transfers are chunked and there is no way on target
side to know the overall transfer size (to print one string per
overall transfer).
A
As well as in K_FW_LBA_READ_10 and K_FW_LBA_ERASE_10 take device's
block size from f_rkusb->desc->blksz instead of the fixed 512 bytes.
Keep original behaviour of retry probing assigned block device on
every host request to manage late SDCard plugs.
Signed-off-by: Alberto Panizzo
---
drivers/us
This command is part of the write partition sequence performed by
rkdeveloptool: one partition is first completely erased and
than wrote.
Signed-off-by: Alberto Panizzo
---
arch/arm/include/asm/arch-rockchip/f_rockusb.h | 1 +
doc/README.rockusb | 1 +
drivers/usb/g
This patch implement reading blocks form selected device with
LBA addressing.
Corresponding command on workstation is:
rkdeveloptool rl
While we support reading more than one blocks per K_FW_LBA_READ_10
request, rkdeveloptool and original rockchip tool do perform
chunk reads limiting the maxim
Speedup transfers increasing the max chunk size.
Buffers are allocated with memalign thus developer is noticed when heap is
full and in current configuration a buffer allocation of 64K till now
is safe.
Signed-off-by: Alberto Panizzo
---
arch/arm/include/asm/arch-rockchip/f_rockusb.h | 2 +-
1 f
Just fix error message.
Signed-off-by: Michal Simek
---
drivers/gpio/zynq_gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c
index afba4580f570..9a915544784d 100644
--- a/drivers/gpio/zynq_gpio.c
+++ b/drivers/gpio/zynq
On 12.7.2018 09:20, Marek Vasut wrote:
> On 06/25/2018 02:56 PM, Tom Rini wrote:
>> On Mon, Jun 25, 2018 at 08:15:34AM +0200, Michal Simek wrote:
>>> Hi,
>>>
>>> On 22.6.2018 21:28, Simon Glass wrote:
Hi,
On 22 June 2018 at 01:41, Michal Simek wrote:
> Hi Simon,
>
> On 1
Relocate sysreset ops as was done by:
"dm: Add support for all targets which requires MANUAL_RELOC"
(sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3)
Signed-off-by: Michal Simek
---
drivers/sysreset/sysreset-uclass.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/s
Relocate gpio ops as was done by:
"dm: Add support for all targets which requires MANUAL_RELOC"
(sha1: 484fdf5ba058b07be5ca82763aa2b72063540ef3)
Signed-off-by: Michal Simek
---
drivers/gpio/gpio-uclass.c | 35 +++
1 file changed, 35 insertions(+)
diff --git a/dr
Remove bogus zynq_gpio_getplat_data() and read driver data directly.
Signed-off-by: Michal Simek
---
Driver should use platdata structure but this change should be fine
before this is fixed.
Simon: Is ofdata_to_platdata correct function where this should be read?
---
drivers/gpio/zynq_gpio.c |
Hi Tom,
On 11.7.2018 14:42, Tom Rini wrote:
> On Tue, Jun 19, 2018 at 12:24:23PM +0200, Michal Simek wrote:
>
>> From: Siva Durga Prasad Paladugu
>>
>> This patch moves CONFIG_MP to Kconfig
>>
>> Signed-off-by: Siva Durga Prasad Paladugu
>> Signed-off-by: Michal Simek
>
> Applied to u-boot/ma
On 12 July 2018 18:46:11 GMT+10:00, Richard Weinberger wrote:
>Mark,
>
>Am Donnerstag, 12. Juli 2018, 07:22:13 CEST schrieb Heiko Schocher:
>> Hello Mark,
>>
>> added Richard Weinberger to cc...
>>
>> Am 12.07.2018 um 02:28 schrieb Mark Spieth:
>> > Hi
>> >
>> > In the process of investigatin
Hi Boris,
Boris Brezillon wrote on Thu, 12 Jul 2018
00:44:44 +0200:
> On Wed, 11 Jul 2018 17:25:29 +0200
> Miquel Raynal wrote:
>
> > From: Boris Brezillon
> >
> > Add bindings for SPI NAND chips.
> >
> > Signed-off-by: Boris Brezillon
> > Signed-off-by: Miquel Raynal
> > ---
> > doc/dev
On gio, 2018-07-12 at 13:02 +0200, Simon Goldschmidt wrote:
>
> On 12.07.2018 12:52, Nicholas Faustini wrote:
> >
> > When called with ENVOP_SAVE, env_get_location() only returns the
> > gd->env_load_location variable without actually checking for
> > the environment location and priority.
> >
>
Hi Boris,
Boris Brezillon wrote on Thu, 12 Jul 2018
00:42:13 +0200:
> On Wed, 11 Jul 2018 17:25:28 +0200
> Miquel Raynal wrote:
>
> > +
> > +static void mtd_show_device(struct mtd_info *mtd)
> > +{
> > + printf("* %s", mtd->name);
>
> Printing the device type might be interesting? And may
On 06/20/2018 09:14 AM, Masahiro Yamada wrote:
> Hi Marek,
Hi!
> 2018-06-20 13:43 GMT+09:00 Marek Vasut :
>> On 06/19/2018 08:39 AM, Masahiro Yamada wrote:
>>> Hi Marek,
>>
>> Hi,
>>
>>> 2018-06-08 5:17 GMT+09:00 Marek Vasut :
Replace the ad-hoc DMA cache management functions with common bou
Hi Eugeniu,
Makes sense, will re-send this patch soon with changes based on your
suggestions. Thanks
Regards,
Igor
On 12 July 2018 at 12:27, Eugeniu Rosca wrote:
> Hi Igor,
>
> Thanks for the fix. See my comments below.
>
> On Thu, Jul 12, 2018 at 10:34:24AM +0300, Igor Opaniuk wrote:
>> Provid
Hi Boris,
> > > +
> > > + if (full_erase) {
> > > + off = 0;
> > > + len = mtd->size;
> > > + }
> > > +
> > > + if ((u32)off % mtd->erasesize) {
> >
> > Sounds dangerous. We have 8GB NANDs on sunxi platforms...
>
> [...]
>
> > > +
>
During the last months, Boris Brezillon shared his work to support
serial flashes within Linux. First, he delivered (and merged) a new
layer called spi-mem. He also initiated in Linux MTD subsystem the move
of all 'raw' NAND related code to a raw/ subdirectory, adding at the
same time a NAND core t
From: Boris Brezillon
Some MTD sublayers/drivers are implementing ->_read/write_oob() and
provide dummy wrappers for their ->_read/write() implementations.
Let the core handle this case instead of duplicating the logic.
Signed-off-by: Boris Brezillon
Acked-by: Robert Jarzmik
Acked-by: Brian No
From: Boris Brezillon
Unlike what's done in mtd_read/write(), there are no checks to make sure
the parameters passed to mtd_read/write_oob() are consistent, which
forces implementers of ->_read/write_oob() to do it, which in turn leads
to code duplication and possibly errors in the logic.
Do gen
From: Ezequiel Garcia
There's no reason for having mtd_write_oob inlined in mtd.h header.
Move it to mtdcore.c where it belongs.
Signed-off-by: Ezequiel Garcia
Acked-by: Boris Brezillon
Signed-off-by: Jacek Anaszewski
Signed-off-by: Miquel Raynal
---
drivers/mtd/mtdcore.c | 12 +++
From: Brian Norris
We are going to begin using the mtd->dev.of_node field for MTD device
nodes, so let's add helpers for it. Also, we'll be making some
conversions on spi_nor (and nand_chip eventually) too, so get that ready
with their own helpers.
Signed-off-by: Brian Norris
Reviewed-by: Boris
Sync the Kconfig raw NAND entry title with the code architecture.
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/raw/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index bdc272142e..118fae7620 100644
---
Some helpers might be useful in a future 'mtd' U-Boot command to parse
MTD device list.
Signed-off-by: Miquel Raynal
---
drivers/mtd/mtdcore.h | 6 --
include/linux/mtd/mtd.h | 6 ++
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/mtd/mtdcore.h b/drivers/mtd/mtdc
NAND flavors, like serial and parallel, have a lot in common and would
benefit to share code. Let's move raw (parallel) NAND specific code in a
raw/ subdirectory, to ease the addition of a core file in nand/ and the
introduction of a spi/ subdirectory specific to SPI NANDs.
Signed-off-by: Miquel R
Fix build errors produced by mtd.h and dm/device.h if not included in
the right order.
Signed-off-by: Miquel Raynal
Reviewed-by: Jagan Teki
---
include/linux/mtd/mtd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 78eb745c04..32e3f31
There is no reason to have NAND, SPI flashes and UBI sections outside of
the MTD submenu in Kconfig.
Signed-off-by: Miquel Raynal
Reviewed-by: Jagan Teki
---
drivers/mtd/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
ind
Some MTD sublayers/drivers are implementing ->_read/write() and
not ->_read/write_oob().
While for NAND devices both are usually valid, for NOR devices, using
the _oob variant has no real meaning. But, as the MTD layer is supposed
to hide as much as possible the flash complexity to the user, there
From: Boris Brezillon
Add minimal support for the MX35LF1GE4AB SPI NAND chip.
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/spi/Makefile | 2 +-
drivers/mtd/nand/spi/core.c | 1 +
drivers/mtd/nand/spi/macronix.c | 138
include/linux/mtd/
From: Boris Brezillon
Add an intermediate layer to abstract NAND device interface so that
some logic can be shared between SPI NANDs, parallel/raw NANDs,
OneNANDs, ...
Signed-off-by: Boris Brezillon
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/Kconfig | 3 +
drivers/mtd/nand/Makefile
From: Frieder Schrempf
Add support for the W25M02GV chip.
Signed-off-by: Frieder Schrempf
Signed-off-by: Boris Brezillon
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/spi/Makefile | 2 +-
drivers/mtd/nand/spi/core.c| 1 +
drivers/mtd/nand/spi/winbond.c | 143
The user might want to trigger the probe of any MTD device, export these
functions so they can be called from a command source file.
Signed-off-by: Miquel Raynal
---
drivers/mtd/mtd-uclass.c | 9 +
include/linux/mtd/mtd.h | 3 +++
2 files changed, 12 insertions(+)
diff --git a/drivers/
From: Peter Pan
Add a basic driver for Micron SPI NANDs. Only one device is supported
right now, but the driver will be extended to support more devices
afterwards.
Signed-off-by: Peter Pan
Signed-off-by: Boris Brezillon
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/spi/Makefile | 2 +-
From: Peter Pan
Add a SPI NAND framework based on the generic NAND framework and the
spi-mem infrastructure.
In its current state, this framework supports the following features:
- single/dual/quad IO modes
- on-die ECC
Signed-off-by: Peter Pan
Signed-off-by: Boris Brezillon
Signed-off-by: M
Add support for the MX35LF2GE4AB chip, which is similar to its cousin
MX35LF1GE4AB, with two planes instead of one.
Signed-off-by: Miquel Raynal
---
drivers/mtd/nand/spi/macronix.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/drivers/mtd/nand/spi/macr
From: Boris Brezillon
The NAND sub-layers are likely to need the MTD_OPS_XXX mode information
in order to decide if they should enable/disable ECC or how they should
place the OOB bytes in the provided OOB buffer.
Add a field to nand_page_io_req to pass this information.
Signed-off-by: Boris Br
From: Boris Brezillon
Add bindings for SPI NAND chips.
Signed-off-by: Boris Brezillon
Signed-off-by: Miquel Raynal
---
doc/device-tree-bindings/mtd/spi-nand.txt | 5 +
1 file changed, 5 insertions(+)
create mode 100644 doc/device-tree-bindings/mtd/spi-nand.txt
diff --git a/doc/device-tr
Hi Miquel,
just a quick comment below (something I stumbled upon while testing).
On 11.07.2018 17:25, Miquel Raynal wrote:
> From: Boris Brezillon
>
> Some controllers are exposing high-level interfaces to access various
> kind of SPI memories. Unfortunately they do not fit in the current
> spi
There should not be a 'nand' command, a 'sf' command and certainly not
another 'spi-nand'. Write a 'mtd' command instead to manage all MTD
devices at once. This should be the preferred way to access any MTD
device.
Signed-off-by: Miquel Raynal
---
cmd/Kconfig | 5 +
cmd/Makefile
From: Boris Brezillon
Some controllers are exposing high-level interfaces to access various
kind of SPI memories. Unfortunately they do not fit in the current
spi_controller model and usually have drivers placed in
drivers/mtd/spi-nor which are only supporting SPI NORs and not SPI
memories in gen
On Thu, Jul 12, 2018 at 07:52:44AM +0200, Michal Simek wrote:
> Hi Tom,
>
> On 11.7.2018 14:42, Tom Rini wrote:
> > On Tue, Jun 19, 2018 at 12:24:23PM +0200, Michal Simek wrote:
> >
> >> From: Siva Durga Prasad Paladugu
> >>
> >> This patch moves CONFIG_MP to Kconfig
> >>
> >> Signed-off-by: Si
On 12 July 2018 18:46:11 GMT+10:00, Richard Weinberger
wrote:
Mark,
Am Donnerstag, 12. Juli 2018, 07:22:13 CEST schrieb Heiko Schocher:
Hello Mark,
added Richard Weinberger to cc...
Am 12.07.2018 um 02:28 schrieb Mark Spieth:
> Hi
>
> In the process of investigating a boot failure on one
There should be proper bank name setup to distiguish between different
gpio drivers. Use dev->name for it.
Signed-off-by: Michal Simek
---
drivers/gpio/zynq_gpio.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio/zynq_gpio.c
index 26f69b1a713f..f793e
On 07/12/2018 01:12 PM, Ley Foon Tan wrote:
> Commit bfc6bae8fa1f2d8a9c51548767b02f1a1e0ffe52
>
> This commit rename CONFIG_SPL_RESET_SUPPORT to CONFIG_SPL_DM_RESET. Update
> with new CONFIG name.
>
> Signed-off-by: Ley Foon Tan
> Acked-by: Marek Vasut
>
> ---
> v2:
> - Rename commit title, ad
Hello Peng,
Am 08.07.2018 um 05:46 schrieb Peng Fan:
From: Ye Li
Add compatible string for i.MX8 and move imx_lpi2c.h from mx7ulp directory
to u-boot include directory as a common header file.
Signed-off-by: Ye Li
Signed-off-by: Peng Fan
Reviewed-by: Heiko Schocher
---
V2: Add review tag
Hello Peng,
Am 08.07.2018 um 05:46 schrieb Peng Fan:
From: Gao Pan
For LPI2C IP, NACK is detected by the rising edge of the ninth clock.
In current uboot driver, once NACK is detected, it will reset and then
disable LPI2C master. As a result, we can never see the falling edge
of the ninth cloc
Hello Peng,
Am 08.07.2018 um 05:46 schrieb Peng Fan:
From: Ye Li
When doing "i2c dev 4; i2c probe" with ENET daughter card connected
on iMX8QXP MEK board, we met a i2c bus busy issue, that the BBF of
lpi2c always show busy, but the master is idle, and stop is detected
(SDF set).
This patch ad
Hello Peng,
Am 08.07.2018 um 05:46 schrieb Peng Fan:
From: Ye Li
In xfer function, both bus_i2c_read and bus_i2c_write will
send a STOP command. This causes a problem when reading register
data from i2c device.
Generally two operations comprise the register data reading:
1. Write the reg
Hello Tom,
please pull from u-boot-i2c.git master
The following changes since commit 1612ff0dfba57b1002d8c7a54778eb553ace98f4:
Merge branch 'master' of git://git.denx.de/u-boot-mips (2018-07-11 21:55:20
-0400)
are available in the Git repository at:
git://git.denx.de/u-boot-i2c.git maste
This patch is enabling GPIO_DM support to have an option to use this
driver together with zynq gpio driver.
!DM part is kept there till Microblaze is cleanup which will be done
hopefully soon.
Just a note:
There is no reason to initialize uc-priv->name because it is completely
unused.
Signed-off-
Hi Simon,
I have looked at converting the rest of microblaze drivers to DM and I
am curious why I can't use top level compatible string in DM based drivers.
I am looking at ways how to move gpio and microblaze soft reset to
sysreset framework and I see that core is not able to find out my high
lev
Hi Stefan,
> > + memset(tx_buf + pos, 0xff, op->dummy.nbytes);
> > + pos += op->dummy.nbytes;
> > + }
> > +
> > + if (tx_data)
> > + memcpy(tx_buf + pos, op->data.buf.out, op->data.nbytes);
> > +
> > + ret = spi_xfer(slave, xfer_len * 8, tx_buf, rx_buf,
> > +
On 07/11/2018 06:12 PM, Simon Glass wrote:
Hi Stephen,
On 11 July 2018 at 16:01, Stephen Warren wrote:
On 07/10/2018 02:24 PM, Simon Glass wrote:
Hi Stephen,
On 10 July 2018 at 13:53, Stephen Warren wrote:
On 07/10/2018 12:47 PM, Tom Rini wrote:
On Mon, Jul 09, 2018 at 01:53:43PM -060
1 - 100 of 116 matches
Mail list logo