/* This function should not be in .ramcode, because it will be called only once before self-upgrade.  */
u32 lpc178x_iap_read_part_id_num(void)
/* This function should not be in .ramcode, because it will be called only once before self-upgrade.  */
u32 lpc178x_iap_read_part_id_num(void)
{
	iap_commands[0] = IAP_CMD_READ_PART_ID;
	lpc178x_iap_entry(iap_commands, iap_results);
	return iap_results[1];
}