driver/ifc:Change accessor function to take care of endianness
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Sat, 18 Jan 2014 06:58:30 +0000 (12:28 +0530)
committerYork Sun <yorksun@freescale.com>
Mon, 3 Feb 2014 16:38:51 +0000 (08:38 -0800)
commit1b4175d6fa12b8012c119889ad5cc1e65c3cf6ba
treed5aa577b493fc7e44de173445bcda11f29721f38
parent27c78e06f2b42bd6285ed104ece23f6c69e42e6f
driver/ifc:Change accessor function to take care of endianness

IFC registers can be of type Little Endian or big Endian depending upon
Freescale SoC. Here SoC defines the register type of IFC IP.

So update acessor functions with common IFC acessor functions to take care
both type of endianness.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
README
arch/powerpc/include/asm/config_mpc85xx.h
drivers/mtd/nand/fsl_ifc_nand.c
drivers/mtd/nand/fsl_ifc_spl.c
include/fsl_ifc.h