ramdump: not set sticky register if ramdump disabled [1/1]
authorTao Zeng <tao.zeng@amlogic.com>
Wed, 18 Sep 2019 06:19:27 +0000 (14:19 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 24 Sep 2019 06:29:07 +0000 (23:29 -0700)
commitddf6fce977513a563b009627e652451f34bef64c
treebf57b346ebf4a9b259b1467ed32f701553e16287
parent2822376c8702898f830ad256f8da76fdbd70c1e0
ramdump: not set sticky register if ramdump disabled [1/1]

PD#TV-1924

Problem:
Sticky register which control compress in bl2z will always be set
if ramdump driver probed.

Solution:
If ramdump is disabled by envrioment under uboot. sticky register
should not set for not enter compress under bl2z

Verify:
x301

Change-Id: I1f41c98cebf7957f0dc214046e6d011e08c326de
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com>
drivers/amlogic/memory_ext/ram_dump.c