sbl/drivers/nvmctrl.c
int nvmctrl_ee_write(uint32_t adr, uint8_t data[64]){
    uint32_t start = 0x00400000ul;
    uint32_t end  = 0x00400000ul + nvmctrl_ee_flash_size();
	int status = -1;

	/* Check valid address for ee area */
	if( (adr >= start) && (adr < end) ){
		status = nvmctrl_cmd_write(NVM_CMD_WRITE_EE, adr, data);
	}

	return status;
}
/**
 * @brief Write to ee flash - address must be 64byte aligned.
 */
@brief Write to ee flash - address must be 64byte aligned.
@brief Write to ee flash - address must be 64byte aligned .
int nvmctrl_ee_write(uint32_t adr, uint8_t data[64]){
    uint32_t start = 0x00400000ul;
    uint32_t end  = 0x00400000ul + nvmctrl_ee_flash_size();
	int status = -1;
	if( (adr >= start) && (adr < end) ){
		status = nvmctrl_cmd_write(NVM_CMD_WRITE_EE, adr, data);
	}
	return status;
}
int nvmctrl_ee_write ( uint32_t adr , uint8_t data [ 64 ] ) { uint32_t start = 0x00400000ul ; uint32_t end = 0x00400000ul + nvmctrl_ee_flash_size ( ) ; int status = -1 ; if ( ( adr >= start ) && ( adr < end ) ) { status = nvmctrl_cmd_write ( NVM_CMD_WRITE_EE , adr , data ) ; } return status ; }
@brief Write to ee flash - address must be 64byte aligned.
@brief Write to ee flash - address must be 64byte aligned .
/* Check valid address for ee area */