C3: support aw402s for doorbell [1/1]

PD#SWPL-148393

Problem:
- support aw402s for doorbell

Solution:
- support aw402s for doorbell

Verify:
local

Change-Id: I3d3f958232ad1fce6425b140454a5cb9564b3801
Signed-off-by: jiahao.yang1 <jiahao.yang1@amlogic.com>
diff --git a/c3_fastboot.sh b/c3_fastboot.sh
index 0586133..e616082 100755
--- a/c3_fastboot.sh
+++ b/c3_fastboot.sh
@@ -9,8 +9,8 @@
 RTOS_BASE_DIR=$(realpath $(dirname $(readlink -f ${BASH_SOURCE[0]:-$0}))/..)
 
 #Board Mapping Combination
-BOARD_DEFINE_REF=(c3_aw409 c3_aw402 c3_aw419)
-BOARD_DEFINE_PAR=(aw409_c302x aw402_c302x aw419_c308l)
+BOARD_DEFINE_REF=(c3_aw409 c3_aw402 c3_aw402s c3_aw419)
+BOARD_DEFINE_PAR=(aw409_c302x aw402_c302x aw402s_c302x aw419_c308l)
 
 ## external resource path ##
 if [ -z $1 ] || [ -z $2 ] || [ -z $3 ]; then
@@ -37,12 +37,14 @@
 #parameter check
 if [ -z $BOARD_TYPE_MAPPING ]; then
 	echo -e "\033[41;33m Notice: parameter error !!! \033[0m"
-	echo -e "\033[33m board_type: aw409_c302x / aw402_c302x / aw419_c308l\033[0m"
+	echo -e "\033[33m board_type: aw409_c302x / aw402_c302x / aw402s_c302x / aw419_c308l\033[0m"
 	exit 1
 fi
 
 #release flow
-if [ -d $RTOS_BASE_DIR/binary_release ] && [ -d $RTOS_BASE_DIR/bl22_bin ] && [ "$BOARD_TYPE_MAPPING" == "c3_aw402" ]; then
+if [ -d $RTOS_BASE_DIR/binary_release ] && [ -d $RTOS_BASE_DIR/bl22_bin ] &&\
+       	{ [ "$BOARD_TYPE_MAPPING" == "c3_aw402" ] ||\
+	       	[ "$BOARD_TYPE_MAPPING" == "c3_aw402s" ]; }; then
 	pushd $UBOOT_DIR
 	if [ -d ./fastboot ]; then
 		rm -rf ./fastboot
@@ -64,6 +66,9 @@
 	'c3_aw402')
 		RTOS_TARGET_ADDRESS=0x7600000
 		;;
+	'c3_aw402s')
+		RTOS_TARGET_ADDRESS=0x7600000
+		;;
 	*)
 		RTOS_TARGET_ADDRESS=0x9000000
 		;;