summaryrefslogtreecommitdiff
path: root/arch/arc
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2020-04-24 23:11:10 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2020-04-27 11:20:27 +0300
commit25998aed4de975262b9839bbb7ebf83e54786d20 (patch)
tree3dcc06ba9ffd22c46fa8ceea4242b067888b8adc /arch/arc
parent3ad73b75a7d3eb48add60173f5d9fbf87a6ad8d6 (diff)
downloadu-boot-25998aed4de975262b9839bbb7ebf83e54786d20.tar.xz
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 'arch/arc')
0 files changed, 0 insertions, 0 deletions