Re: [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2020-01-09 Thread Marek Vasut
On 1/9/20 4:01 PM, Masahiro Yamada wrote: > On Thu, Jan 9, 2020 at 11:48 PM Marek Vasut wrote: >> >> On 1/9/20 1:11 PM, Masahiro Yamada wrote: >>> On Thu, Jan 9, 2020 at 8:16 PM Marek Vasut wrote: On 1/9/20 12:04 PM, Masahiro Yamada wrote: > On Thu, Jan 9, 2020 at 7:08 PM Marek

Re: [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2020-01-09 Thread Masahiro Yamada
On Thu, Jan 9, 2020 at 11:48 PM Marek Vasut wrote: > > On 1/9/20 1:11 PM, Masahiro Yamada wrote: > > On Thu, Jan 9, 2020 at 8:16 PM Marek Vasut wrote: > >> > >> On 1/9/20 12:04 PM, Masahiro Yamada wrote: > >>> On Thu, Jan 9, 2020 at 7:08 PM Marek Vasut wrote: > > Legacy kernel

Re: [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2020-01-09 Thread Marek Vasut
On 1/9/20 1:11 PM, Masahiro Yamada wrote: > On Thu, Jan 9, 2020 at 8:16 PM Marek Vasut wrote: >> >> On 1/9/20 12:04 PM, Masahiro Yamada wrote: >>> On Thu, Jan 9, 2020 at 7:08 PM Marek Vasut wrote: Legacy kernel versions for SoCFPGA may not implement proper reset handling. Apply

Re: [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2020-01-09 Thread Masahiro Yamada
On Thu, Jan 9, 2020 at 8:16 PM Marek Vasut wrote: > > On 1/9/20 12:04 PM, Masahiro Yamada wrote: > > On Thu, Jan 9, 2020 at 7:08 PM Marek Vasut wrote: > >> > >> Legacy kernel versions for SoCFPGA may not implement proper reset > >> handling. Apply the same approach as SoCFPGA reset driver, check

Re: [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2020-01-09 Thread Marek Vasut
On 1/9/20 12:04 PM, Masahiro Yamada wrote: > On Thu, Jan 9, 2020 at 7:08 PM Marek Vasut wrote: >> >> Legacy kernel versions for SoCFPGA may not implement proper reset >> handling. Apply the same approach as SoCFPGA reset driver, check >> environment variable "socfpga_legacy_reset_compat", and if

Re: [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2020-01-09 Thread Masahiro Yamada
On Thu, Jan 9, 2020 at 7:08 PM Marek Vasut wrote: > > Legacy kernel versions for SoCFPGA may not implement proper reset > handling. Apply the same approach as SoCFPGA reset driver, check > environment variable "socfpga_legacy_reset_compat", and if it is > set, do not reset the IP before booting

[PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2020-01-09 Thread Marek Vasut
Legacy kernel versions for SoCFPGA may not implement proper reset handling. Apply the same approach as SoCFPGA reset driver, check environment variable "socfpga_legacy_reset_compat", and if it is set, do not reset the IP before booting Linux. This way, even the older kernel versions can be booted

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Marek Vasut
On 11/26/19 10:17 AM, Masahiro Yamada wrote: > On Tue, Nov 26, 2019 at 6:10 PM Marek Vasut wrote: >> >> On 11/26/19 10:07 AM, Masahiro Yamada wrote: >>> On Tue, Nov 26, 2019 at 6:01 PM Marek Vasut wrote: On 11/26/19 9:46 AM, Masahiro Yamada wrote: > On Tue, Nov 26, 2019 at 5:23 PM

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Masahiro Yamada
On Tue, Nov 26, 2019 at 6:10 PM Marek Vasut wrote: > > On 11/26/19 10:07 AM, Masahiro Yamada wrote: > > On Tue, Nov 26, 2019 at 6:01 PM Marek Vasut wrote: > >> > >> On 11/26/19 9:46 AM, Masahiro Yamada wrote: > >>> On Tue, Nov 26, 2019 at 5:23 PM Marek Vasut wrote: > > On 11/26/19 3:47

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Marek Vasut
On 11/26/19 10:07 AM, Masahiro Yamada wrote: > On Tue, Nov 26, 2019 at 6:01 PM Marek Vasut wrote: >> >> On 11/26/19 9:46 AM, Masahiro Yamada wrote: >>> On Tue, Nov 26, 2019 at 5:23 PM Marek Vasut wrote: On 11/26/19 3:47 AM, Masahiro Yamada wrote: > On Thu, Nov 21, 2019 at 6:38 AM

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Masahiro Yamada
On Tue, Nov 26, 2019 at 6:01 PM Marek Vasut wrote: > > On 11/26/19 9:46 AM, Masahiro Yamada wrote: > > On Tue, Nov 26, 2019 at 5:23 PM Marek Vasut wrote: > >> > >> On 11/26/19 3:47 AM, Masahiro Yamada wrote: > >>> On Thu, Nov 21, 2019 at 6:38 AM Marek Vasut wrote: > > Legacy kernel

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Marek Vasut
On 11/26/19 9:46 AM, Masahiro Yamada wrote: > On Tue, Nov 26, 2019 at 5:23 PM Marek Vasut wrote: >> >> On 11/26/19 3:47 AM, Masahiro Yamada wrote: >>> On Thu, Nov 21, 2019 at 6:38 AM Marek Vasut wrote: Legacy kernel versions for SoCFPGA may not implement proper reset handling. >>>

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Simon Goldschmidt
On Tue, Nov 26, 2019 at 9:22 AM Marek Vasut wrote: > > On 11/26/19 3:47 AM, Masahiro Yamada wrote: > > On Thu, Nov 21, 2019 at 6:38 AM Marek Vasut wrote: > >> > >> Legacy kernel versions for SoCFPGA may not implement proper reset > >> handling. > > > > What is "legacy kernel versions" ? > >

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Masahiro Yamada
On Tue, Nov 26, 2019 at 5:23 PM Marek Vasut wrote: > > On 11/26/19 3:47 AM, Masahiro Yamada wrote: > > On Thu, Nov 21, 2019 at 6:38 AM Marek Vasut wrote: > >> > >> Legacy kernel versions for SoCFPGA may not implement proper reset > >> handling. > > > > What is "legacy kernel versions" ? > >

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-26 Thread Marek Vasut
On 11/26/19 3:47 AM, Masahiro Yamada wrote: > On Thu, Nov 21, 2019 at 6:38 AM Marek Vasut wrote: >> >> Legacy kernel versions for SoCFPGA may not implement proper reset >> handling. > > What is "legacy kernel versions" ? Anything older than 5.x , which got proper reset handling, finally. >>

Re: [U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-25 Thread Masahiro Yamada
On Thu, Nov 21, 2019 at 6:38 AM Marek Vasut wrote: > > Legacy kernel versions for SoCFPGA may not implement proper reset > handling. What is "legacy kernel versions" ? > Apply the same approach as SoCFPGA reset driver, check > environment variable "socfpga_legacy_reset_compat", and if it is >

[U-Boot] [PATCH 3/3] mtd: rawnand: denali: Do not reset the block on SoCFPGA

2019-11-20 Thread Marek Vasut
Legacy kernel versions for SoCFPGA may not implement proper reset handling. Apply the same approach as SoCFPGA reset driver, check environment variable "socfpga_legacy_reset_compat", and if it is set, do not reset the IP before booting Linux. This way, even the older kernel versions can be booted