summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-10-13 15:58:59 -0700
committerVineet Gupta <vgupta@synopsys.com>2016-10-24 09:24:47 -0700
commitcf986d470208fbdd68b6934a86ccd81c04408484 (patch)
treed87390ab95834343e6ef9236d847e2f91d5f3720 /lib
parent91e040a79df73d371f70792f30380d4e44805250 (diff)
ARCv2: IOC: use @ioc_enable not @ioc_exist where intended
if user disables IOC from debugger at startup (by clearing @ioc_enable), @ioc_exists is cleared too. This means boot prints don't capture the fact that IOC was present but disabled which could be misleading. So invert how we use @ioc_enable and @ioc_exists and make it more canonical. @ioc_exists represent whether hardware is present or not and stays same whether enabled or not. @ioc_enable is still user driven, but will be auto-disabled if IOC hardware is not present, i.e. if @ioc_exist=0. This is opposite to what we were doing before, but much clearer. This means @ioc_enable is now the "exported" toggle in rest of code such as dma mapping API. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions