Skip to content

qspi: Add AM437x support

Sourav Poddar u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [UBOOT][PATCH 0/5] qspi: Add AM437x support
Quoted 72 lines · Jagan Teki
Quoted 71 lines · Sourav Poddar
Quoted 70 lines · Jagan Teki
Quoted 68 lines · Sourav Poddar
Quoted 57 lines · Jagan Teki
Quoted 40 lines · Sourav Poddar
Quoted 33 lines · Jagan Teki
Quoted 31 lines · Sourav Poddar

Hi Jagan,

Quoted 28 lines · Sourav Poddar

The patch series add support for enabling qspi
on AM43xx at uboot.

Testing done:
-------------
Wrote a uImage to the flash, read it back and boot the kernel.

Jagannadha Sutradharudu Teki (1):
sf: macronix: Add support for MX25L51235F

Sourav Poddar (4):
am43xx: add qspi support
am437x_epos_evm: add SPL API, QSPI, and serial flash support qspi/spi: Add AM43xx specifics changes
am43xx: add delay before xfer

arch/arm/cpu/armv7/am33xx/clock_am43xx.c | 1 +
arch/arm/include/asm/arch-am33xx/cpu.h | 4 +++-
arch/arm/include/asm/arch-am33xx/omap.h | 1 +
board/ti/am43xx/mux.c | 11 +++++++++++
drivers/mtd/spi/sf_probe.c | 2 ++
drivers/spi/ti_qspi.c | 29
++++++++++++++++++++++++++---

      include/configs/am43xx_evm.h             |   20
++++++++++++++++++++
      7 files changed, 64 insertions(+), 4 deletions(-)
Quoted 6 lines
Quoted 1 line

If these patches seems fine to you, can these be picked?

Please send the next version patches - fix the comments as we discussed
so
far.

Quoted 7 lines

I will send the next version.
But, what about the delay patch, I tried other stuffs but could not see any
thing
that helps.
So, I will send the delay patch also as of now, to make it work out of mainline.

I am some how OK with that as that change is in ur driver..

Just try this change
/* FIXME: comments here... */

(quoted diff) +3 -0
+#ifdef CONFIG_AM43XX
+ udelay(100);
+#endif
Quoted 5 lines

And also write the bug log on commit message(means with out delay)

Try to ass the testing logs on doc/ - for each time you tested a new flash or new driver.

Jagan,

Just realised that this patches depends on AM43x base patches which are in
ti-uboot mainline tree. So, what should I do in that case. ?

Quoted 7 lines
Quoted 3 lines
Quoted 2 lines

Send all of them together..!

So, I should send all the base patches also?

am43xx_evm is already available - all patches means related to spi for this board.
If OK then send

Ok. Actually bassic board support is already there. But there were few updated done on baseport side to make these reach uboot prompt. I will test with those patches and send you only the spi part for pull bsed on your master branch.

Quoted 4 lines
Quoted 4 lines

Note: These dependendt patches are already there in tom ti-uboot mainline tree.