rkflash: add resource partition
Change-Id: Iab307ca8709595f6d5ad180ceb4f9e07eb7bed7b Signed-off-by: Eddie Cai <eddie.cai.linux@gmail.com>
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user