u-boot-brain/arch/powerpc/cpu/mpc85xx
Codrin Ciubotariu 7d33a87d9d arch/powerpc: Fix mapping of Freescale SerDes protocols
The number of supported serdes protocols on Freescale SoCs
has increased over time. Until now, an u64 variable have been
initialized on boot with the configured protocols. However,
since this number has increased (enum srds_prtcl has more
than 64 values), 64 bits are no longer sufficient to hold track
of all the configured protocols.
This patch replaces the u64 map values with static arrays.
To keep track of the number of serdes protocols, the
SERDES_PRCTL_COUNT vale has been added at the end of
enum srds_prtcl. This value must always be the last one.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2015-01-16 09:32:20 -08:00
..
b4860_ids.c b4860: Correct LIODN assignment for PCIe 2015-01-16 09:30:06 -08:00
b4860_serdes.c 85xx/b4860: Add alternate serdes protocols for B4860/B4420 2014-12-05 08:06:12 -08:00
bsc9132_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
c29x_serdes.c powerpc/mpc85xx: Cleanup license header in source files 2013-08-12 15:04:24 -07:00
cache.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cmd_errata.c powerpc/b4860qds: add workaround for XFI 2014-12-05 08:06:13 -08:00
commproc.c ppc: Move dp_alloc_base, dp_alloc_top to arch_global_data 2013-02-04 09:05:43 -05:00
config.mk powerpc: remove redundant CPU definition 2014-07-30 14:42:03 -04:00
cpu_init_early.c powerpc/mpc85xx: Use IFC accessor function 2014-11-14 11:12:14 -08:00
cpu_init.c mpc85xx: clean up the old deep sleep framework 2015-01-16 09:31:40 -08:00
cpu.c driver/ddr: Restruct driver to allow standalone memory space 2014-09-25 08:36:18 -07:00
ether_fcc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fdt.c fsl_sec : Change accessor function to take care of endianness 2014-10-16 14:16:50 -07:00
fsl_corenet2_serdes.c arch/powerpc: Fix mapping of Freescale SerDes protocols 2015-01-16 09:32:20 -08:00
fsl_corenet2_serdes.h powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h 2013-08-09 12:41:41 -07:00
fsl_corenet_serdes.c fsl/mpc85xx: define common serdes_clock_to_string function 2013-10-24 09:36:18 -07:00
fsl_corenet_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
interrupts.c mpc85xx: fix interrupt init to not affect watchdog 2014-08-01 14:17:44 -07:00
Kconfig powerpc/t1024rdb: Add T1024 RDB board support 2014-12-05 08:06:15 -08:00
liodn.c fsl_sec : Change accessor function to take care of endianness 2014-10-16 14:16:50 -07:00
Makefile powerpc/mpc85xx: Add T1024/T1023 SoC support 2014-12-05 08:06:14 -08:00
mp.c Driver/DDR: Moving Freescale DDR driver to a common driver 2013-11-25 11:43:43 -08:00
mp.h powerpc/mpc85xx: Rewrite spin table to comply with ePAPR v1.1 2012-10-22 14:31:32 -05:00
mpc8536_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8544_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8548_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8568_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8569_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8572_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p1010_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p1021_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p1022_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p1023_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p2020_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p2041_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
p2041_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p3041_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
p3041_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p4080_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
p4080_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p5020_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
p5020_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
p5040_ids.c p5040ds: changed liodn offsets 2014-12-15 09:16:34 -08:00
p5040_serdes.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
portals.c mpc85xx: inhibit qman and bman portals by default 2014-12-15 09:16:07 -08:00
qe_io.c QE/U-QE: Add U-QE support 2014-04-22 17:58:47 -07:00
release.S PPC: 85xx: Remove IVOR reset 2014-04-22 17:58:45 -07:00
resetvec.S Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
serial_scc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
speed.c powerpc/mpc85xx: Add T1024/T1023 SoC support 2014-12-05 08:06:14 -08:00
spl_minimal.c powerpc/mpc85xx: Fix boot_flag for calling board_init_f() 2014-05-13 08:31:22 -07:00
start.S powerpc/mpc85xx: Fix boot_flag for calling board_init_f() 2014-05-13 08:31:22 -07:00
t1024_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
t1024_serdes.c powerpc/t1024: add serdes protocol 0x40 and 0x5f 2015-01-16 09:30:49 -08:00
t1040_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
t1040_serdes.c powerpc/mpc85xx: Update serdes protocols for T1040 2014-02-03 08:38:48 -08:00
t2080_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
t2080_serdes.c powerpc/t2080: add serdes2 protocol 0x2e 2014-12-05 08:06:07 -08:00
t4240_ids.c powerpc/mpc85xx: use correct dma compatible for several SoCs 2014-12-05 08:06:16 -08:00
t4240_serdes.c powerpc/t4qds: Add alternate serdes protocols to align with A-007186 2014-06-05 12:55:59 -07:00
tlb.c powerpc/mpc85xx: Fix DDR TLB mapping leftover 2014-12-15 09:15:40 -08:00
traps.c common: Add get_effective_memsize() to memsize.c 2014-02-21 11:06:13 -05:00
u-boot-nand_spl.lds cosmetic: delete misleading comment /* CONFIG_BOARDDIR */ 2014-05-12 15:20:05 -04:00
u-boot-nand.lds cosmetic: delete misleading comment /* CONFIG_BOARDDIR */ 2014-05-12 15:20:05 -04:00
u-boot-spl.lds cosmetic: delete misleading comment /* CONFIG_BOARDDIR */ 2014-05-12 15:20:05 -04:00
u-boot.lds cosmetic: delete misleading comment /* CONFIG_BOARDDIR */ 2014-05-12 15:20:05 -04:00