/* This function is used to send Rx command to flash to get status register or flash id, and lock CPU when Rx.  */
IMAGE2_RAM_TEXT_SECTION void FLASH_RxCmdXIP(u8 cmd, u32 read_len, u8 *read_data)
/* This function is used to send Rx command to flash to get status register or flash id, and lock CPU when Rx.  */
IMAGE2_RAM_TEXT_SECTION void FLASH_RxCmdXIP(u8 cmd, u32 read_len, u8 *read_data)
{
	FLASH_Write_Lock();
	FLASH_RxCmd(cmd, read_len, read_data);
	FLASH_Write_Unlock();
}