Re: [PATCH v3 4/6] ram: stm32: fix strsep failed on read only memory

2021-03-31 Thread dillon min
On Wed, Mar 31, 2021 at 5:09 PM Patrice CHOTARD wrote: > > one remark below > > On 3/29/21 5:04 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > strsep will change data from original memory address, > > in case the memory is in non-sdram/sram place, will > > run into a bug(hang at

Re: [PATCH v3 4/6] ram: stm32: fix strsep failed on read only memory

2021-03-31 Thread Patrice CHOTARD
one remark below On 3/29/21 5:04 AM, dillon.min...@gmail.com wrote: > From: dillon min > > strsep will change data from original memory address, > in case the memory is in non-sdram/sram place, will > run into a bug(hang at SDRAM: ) > > just add a temporary array to store bank_name[] to fix thi

[PATCH v3 4/6] ram: stm32: fix strsep failed on read only memory

2021-03-29 Thread dillon . minfei
From: dillon min strsep will change data from original memory address, in case the memory is in non-sdram/sram place, will run into a bug(hang at SDRAM: ) just add a temporary array to store bank_name[] to fix this bug. Fixes: f303aaf ("ram: stm32: add second SDRAM bank management") Signed-off-