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:
parent
9bddc4c3dc
commit
69808149dc
|
|
@ -385,6 +385,10 @@ static int rkfw_load_kernel(struct spl_load_info *info, u32 image_sector,
|
||||||
udelay(10);
|
udelay(10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ret = misc_decompress_stop(dev);
|
||||||
|
if (ret)
|
||||||
|
goto out;
|
||||||
|
|
||||||
ret = misc_decompress_start(dev,
|
ret = misc_decompress_start(dev,
|
||||||
CONFIG_SPL_RAMDISK_COMPRESS_ADDR,
|
CONFIG_SPL_RAMDISK_COMPRESS_ADDR,
|
||||||
CONFIG_SPL_RAMDISK_ADDR,
|
CONFIG_SPL_RAMDISK_ADDR,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue