/* determine_cpu_data() - Determine CPU information from hardware @dev: CPU device from which to read information  */
static void determine_cpu_data(struct udevice *dev)
/* determine_cpu_data() - Determine CPU information from hardware @dev: CPU device from which to read information  */
static void determine_cpu_data(struct udevice *dev)
{
	struct mpc83xx_cpu_priv *priv = dev_get_priv(dev);
	const u32 E_FLAG_MASK = 0x00010000;
	u32 spridr = get_spridr();
	determine_family(dev);
	determine_type(dev);
	determine_e300_type(dev);
	determine_revid(dev);
	if ((priv->family == FAMILY_834X ||
	     priv->family == FAMILY_836X) && priv->revid.major >= 2)
		priv->is_a_variant = true;
	priv->is_e_processor = !bitfield_extract_by_mask(spridr, E_FLAG_MASK);
}