/* Write a word (16 bits) to a memory location after the value has been byte swapped (big to little endian or vice versa)  */
void mpc824x_mpc107_write16(unsigned int address, unsigned short data)
/* Write a word (16 bits) to a memory location after the value has been byte swapped (big to little endian or vice versa)  */
void mpc824x_mpc107_write16(unsigned int address, unsigned short data)
{
	*(volatile unsigned short *) address = BYTE_SWAP_16_BIT (data);
	__asm__ ("sync");
}