Re: [PATCH RESEND v2] mtd: physmap: Add Baikal-T1 physically mapped ROMs support

2020-05-28 Thread Serge Semin
On Thu, May 28, 2020 at 04:35:41PM +0530, Vignesh Raghavendra wrote: > > > On 28/05/20 4:12 pm, Serge Semin wrote: > [...] > >>> + > >>> +static map_word __xipram bt1_rom_dummy_read(struct map_info *map, > >>> + unsigned long ofs) > >>> +{ > >>> + map_word ret;

Re: [PATCH RESEND v2] mtd: physmap: Add Baikal-T1 physically mapped ROMs support

2020-05-28 Thread Vignesh Raghavendra
On 28/05/20 4:12 pm, Serge Semin wrote: [...] >>> + >>> +static map_word __xipram bt1_rom_dummy_read(struct map_info *map, >>> + unsigned long ofs) >>> +{ >>> + map_word ret; >>> + >>> + ret.x[0] = 0xFF; >>> + >>> + return ret; >>> +} >> Why define

Re: [PATCH RESEND v2] mtd: physmap: Add Baikal-T1 physically mapped ROMs support

2020-05-28 Thread Serge Semin
On Thu, May 28, 2020 at 03:36:55PM +0530, Vignesh Raghavendra wrote: > Hi, > > On 27/05/20 4:28 am, Serge Semin wrote: > > Baikal-T1 Boot Controller provides an access to a RO storages, which are > > physically mapped into the MMIO space. In particularly there are the > > Internal ROM embedded

Re: [PATCH RESEND v2] mtd: physmap: Add Baikal-T1 physically mapped ROMs support

2020-05-28 Thread Vignesh Raghavendra
Hi, On 27/05/20 4:28 am, Serge Semin wrote: > Baikal-T1 Boot Controller provides an access to a RO storages, which are > physically mapped into the MMIO space. In particularly there are the > Internal ROM embedded into the SoC with a pre-installed firmware, > externally attached SPI flash (also

[PATCH RESEND v2] mtd: physmap: Add Baikal-T1 physically mapped ROMs support

2020-05-26 Thread Serge Semin
Baikal-T1 Boot Controller provides an access to a RO storages, which are physically mapped into the MMIO space. In particularly there are the Internal ROM embedded into the SoC with a pre-installed firmware, externally attached SPI flash (also accessed in the read-only mode) and a memory region,