/* Japan (red swirl) - 0x30 Japan (black swirl) - 0x58 USA (red swirl) - 0x31 USA (black swirl) - 0x59 Europe (blue swirl) - 0x32 Europe (black swirl) - 0x5A  */
uint8* flash_factory_set_country(uint8 *data, int country, int black_swirl)
/* Japan (red swirl) - 0x30 Japan (black swirl) - 0x58 USA (red swirl) - 0x31 USA (black swirl) - 0x59 Europe (blue swirl) - 0x32 Europe (black swirl) - 0x5A  */
uint8* flash_factory_set_country(uint8 *data, int country, int black_swirl)
{
		case 1:
			data[2] = black_swirl ? 0x58 : 0x30;
			break;
		case 2:
			data[2] = black_swirl ? 0x59 : 0x31;
			break;
		case 3:
			data[2] = black_swirl ? 0x5A : 0x32;
			break;
		default:
			break;
	}
	return data;
}