Re: [PATCH 1/2] sh_eth: gather all TSU init code in one place

2018-01-15 Thread Geert Uytterhoeven
On Sun, Jan 14, 2018 at 6:47 PM, Sergei Shtylyov wrote: > The sh_eth_cpu_data::chip_reset() method always resets using ARSTR and > this register is always located at the start of the TSU register region. > Therefore, we can only call this method if we know

[PATCH 1/2] sh_eth: gather all TSU init code in one place

2018-01-14 Thread Sergei Shtylyov
The sh_eth_cpu_data::chip_reset() method always resets using ARSTR and this register is always located at the start of the TSU register region. Therefore, we can only call this method if we know TSU is there and thus simplify the probing code a bit... Signed-off-by: Sergei Shtylyov