diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2020-04-24 23:11:10 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2020-04-27 11:20:27 +0300 |
commit | 25998aed4de975262b9839bbb7ebf83e54786d20 (patch) | |
tree | 3dcc06ba9ffd22c46fa8ceea4242b067888b8adc /drivers/scsi/sandbox_scsi.c | |
parent | 3ad73b75a7d3eb48add60173f5d9fbf87a6ad8d6 (diff) |
ARC: HSDK-4xD: make init status resistant to U-boot reloading
Use register intstead of static variable to store HSDK init status as
we want to avoid the situation when we reload U-boot via MDB after
previous init is done but HW reset (board reset) isn't done. So
let's store the init status in unused register - CREG_CPU_0_ENTRY
so status will survive after U-boot is reloaded via MDB.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'drivers/scsi/sandbox_scsi.c')
0 files changed, 0 insertions, 0 deletions