/* Write a data buffer to internal Flash. Note that we need for this function to reside in RAM since it will be used to self-upgrade U-boot in internal Flash.  */
u32 envm_write(u32 offset, void *buf, u32 size)
/* Write a data buffer to internal Flash. Note that we need for this function to reside in RAM since it will be used to self-upgrade U-boot in internal Flash.  */
u32 envm_write(u32 offset, void *buf, u32 size)
{
	printf("Error: Internal flash is not supported "
	       "on LPC18xx and LPC43xx.\n");
	return -ENODEV;
}