tools: boot_merger: add option to enable rc4 flag

Base on U-Boot next-dev commit:
(abe2842 tools: rockchip: boot_merger: add option to enable rc4 flag)

The legacy chips like rk3188 maskrom require all IDB data with RC4,
the boot_merger pack the loader with a rc4 flag in header,
and the upgrade_tool will write the data with rc4 to IDB area.

usage:
boot_merger --rc4 RKBOOT/RK310BMINIALL.ini

and you can see log below if success with RC4:
* enable RC4 for IDB data(both ddr and preloader)

Test on rk3188.

Change-Id: I7de55a09a849d16cee516ebdf0782a67d26db165
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen
2019-06-24 11:17:13 +08:00
committed by Jianhong Chen
parent ade8278edc
commit f50b5d3ef7

Binary file not shown.