spl: rkfw: call misc_decompress_stop() to clear the decompress irq

Otherwise the next stage will respond to the decompress completed interrupt.

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ie56a7eb939374bd5aac326bb3cd022225bf71dd2
This commit is contained in:
Jason Zhu 2020-05-26 17:36:47 +08:00
parent 9bddc4c3dc
commit 69808149dc
1 changed files with 4 additions and 0 deletions

View File

@ -385,6 +385,10 @@ static int rkfw_load_kernel(struct spl_load_info *info, u32 image_sector,
udelay(10);
}
ret = misc_decompress_stop(dev);
if (ret)
goto out;
ret = misc_decompress_start(dev,
CONFIG_SPL_RAMDISK_COMPRESS_ADDR,
CONFIG_SPL_RAMDISK_ADDR,