RE: [Patch v3 1/2] configs: ls2080ardb: Make MC_INIT access flash memory as per spi-mem

2020-03-18 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Kuldeep Singh >Sent: Wednesday, March 18, 2020 11:57 AM >To: Priyanka Jain ; u-boot@lists.denx.de >Cc: Kuldeep Singh >Subject: [Patch v3 1/2] configs: ls2080ardb: Make MC_INIT access flash >memory as per spi-mem > &g

[Patch v3 1/2] configs: ls2080ardb: Make MC_INIT access flash memory as per spi-mem

2020-03-18 Thread Kuldeep Singh
MC_INIT command currently access spi-nor flash memory directly. As per spi-mem framework, flash memory access via absolute addresses is no more possible. Use flash APIs to access memory instead of directly using it. Signed-off-by: Kuldeep Singh --- v3: -Use complete MC size, 1M works but MC has