[PATCH v7 0/6] spi-nor: Add parallel and stacked memories support
Michal Simek
michal.simek at amd.com
Wed Dec 20 15:43:33 CET 2023
Hi,
On 12/19/23 05:15, Venkatesh Yadav Abbarapu wrote:
> This series adds support for Xilinx qspi parallel and stacked memeories.
>
> In parallel mode, the current implementation assumes that a maximum of two flashes are connected. The QSPI controller splits the data evenly between both the flashes so, both the flashes that are connected in parallel mode should be identical.
> During each operation SPI-NOR sets 0th bit for CS0 & 1st bit for CS1 in
> nor->flags.
>
> In stacked mode the current implementation assumes that a maximum of two flashes are connected and both the flashes are of same make but can differ in sizes. So, except the sizes all other flash parameters of both the flashes are identical.
>
> Spi-nor will pass on the appropriate flash select flag to low level driver, and it will select pass all the data to that particular flash.
>
> Write operation in parallel mode are performed in page size * 2 chunks as each write operation results in writing both the flashes. For doubling the address space each operation is performed at addr/2 flash offset, where addr is the address specified by the user.
>
> Similarly for read and erase operations it will read from both flashes, so size and offset are divided by 2 and send to flash.
There are much less errors which is good sign but still
imx28_xea_defconfig shows this.
.../arm-xilinx-linux-gnueabi-ld.bfd.real: drivers/core/ofnode.o: in function
`ofnode_get_property':
/mnt/disk/u-boot/drivers/core/ofnode.c:1185: undefined reference to `fdt_getprop'
make[1]: *** [scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
And SPL is bigger for taurus_defconfig and axm_defconfig.
And can you please rebase it on the top of next branch?
Thanks,
Michal
More information about the U-Boot
mailing list