/* Read a register in the Embedded Utilities Memory Block address space. Input: regNum - register number + utility base address. Example, the base address of EPIC is 0x40000, the register number being passed is 0x40000+the address of the target register. (See epic.h for register addresses). Output: The 32 bit little endian value of the register.  */
unsigned int mpc824x_eummbar_read(unsigned int regNum)
/* Read a register in the Embedded Utilities Memory Block address space. Input: regNum - register number + utility base address. Example, the base address of EPIC is 0x40000, the register number being passed is 0x40000+the address of the target register. (See epic.h for register addresses). Output: The 32 bit little endian value of the register.  */
unsigned int mpc824x_eummbar_read(unsigned int regNum)
{
	unsigned int temp;
	temp = *(volatile unsigned int *) (EUMBBAR_VAL + regNum);
	temp = PCISWAP (temp);
	return temp;
}