File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -845,6 +845,7 @@ board_config() {
845845 BIOS_LINK_DES=" ${FW_STORE_URL_DES} /minnowboard/v${DASHARO_REL_VER_DES} /${DASHARO_REL_NAME} _v${DASHARO_REL_VER_DES} .rom"
846846 FLASH_CHIP_LIST=" W25Q64JV-.Q"
847847 PROGRAMMER_BIOS=" internal"
848+ DISABLE_WP=" true"
848849 ;;
849850 * )
850851 print_error " Board model $SYSTEM_MODEL is currently not supported"
@@ -1192,6 +1193,9 @@ set_flashrom_update_params() {
11921193 else
11931194 FLASHROM_ADD_OPT_UPDATE=" -N --ifd -i bios"
11941195 fi
1196+ if [ $DISABLE_WP == " true" ]; then
1197+ FLASHROM_ADD_OPT_UPDATE=" $FLASHROM_ADD_OPT_UPDATE --wp-disable --wp-range=0x0,0x0"
1198+ fi
11951199 BINARY_HAS_RW_B=1
11961200 # We need to read whole binary (or BIOS region), otherwise cbfstool will
11971201 # return different attributes for CBFS regions
You can’t perform that action at this time.
0 commit comments