fsl_sec : Change accessor function to take care of endianness
authorRuchika Gupta <ruchika.gupta@freescale.com>
Tue, 9 Sep 2014 06:20:31 +0000 (11:50 +0530)
committerYork Sun <yorksun@freescale.com>
Thu, 16 Oct 2014 21:16:50 +0000 (14:16 -0700)
commit028dbb8db1d18c5835ab34659f9ef7a516571524
treeb6c94157e8a8483a025b2ec4591df115422fe3ae
parent48ef0d2a1002d3da0bf7ed13d0959bcbf782c792
fsl_sec : Change accessor function to take care of endianness

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

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

Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
README
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/fdt.c
arch/powerpc/cpu/mpc85xx/liodn.c
arch/powerpc/cpu/mpc8xxx/fdt.c
arch/powerpc/include/asm/config_mpc85xx.h
include/fsl_sec.h