rkflash: add resource partition

Change-Id: Iab307ca8709595f6d5ad180ceb4f9e07eb7bed7b
Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
This commit is contained in:
Eddie Cai
2020-05-20 09:09:05 +08:00
parent 2a66fb51b9
commit bb9f076e5e

View File

@ -73,6 +73,15 @@ then
$UPGRADETOOL di -p $PARAMETER
fi
if [ $FLASH_TYPE = resource ]
then
if [ -n "$2" ];then
RESOURCE=$2
fi
echo "flash resource: $RESOURCE"
$UPGRADETOOL di -resource $RESOURCE
fi
if [ $FLASH_TYPE = uboot ]
then
if [ -n "$2" ];then