u-boot-brain/arch/powerpc/cpu/mpc85xx
Hou Zhiqiang 71fe22256c fsl: serdes: ensure accessing the initialized maps of serdes protocol
Up to now, the function is_serdes_configed() doesn't check if the map
of serdes protocol is initialized before accessing it. The function
is_serdes_configed() will get wrong result when it was called before
the serdes protocol maps initialized. As the first element of the map
isn't used for any device, so use it as the flag to indicate if the
map has been initialized.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
2016-09-14 14:06:49 -07:00
..
b4860_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
b4860_serdes.c 85xx/b4860: Add alternate serdes protocols for B4860/B4420 2014-12-05 08:06:12 -08:00
bsc9132_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
c29x_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
cmd_errata.c driver/ddr/fsl: Add workaround for A009663 2016-01-25 08:24:15 -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: Enable pre-relocation malloc for MPC85xx 2016-04-08 15:42:10 -07:00
cpu_init.c powerpc/mpc85xx: T104x: Add nand secure boot target 2016-07-21 11:09:34 -07:00
cpu.c powerpc/mpc85xx: Add DSP side awareness for Freescale Heterogeneous SoCs 2015-03-04 10:15:29 -08:00
ether_fcc.c net: mii: Use spatch to update miiphy_register 2016-08-15 15:26:33 -05:00
fdt.c fm: fdt: Move fman ucode fixup to driver code 2016-02-24 08:51:13 -08:00
fsl_corenet_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
fsl_corenet_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_corenet2_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07: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
interrupts.c mpc85xx: fix interrupt init to not affect watchdog 2014-08-01 14:17:44 -07:00
Kconfig treewide: move CONFIG_PHYS_64BIT to Kconfig 2016-08-05 07:27:25 -04:00
liodn.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
Makefile powerpc: mpc85xx: Do not build errata command in SPL 2016-07-05 17:40:28 +02:00
mp.c Various, unrelated tree-wide typo fixes. 2016-07-16 09:43:12 -04: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 fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8544_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8548_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8568_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8569_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
mpc8572_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1010_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1021_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1022_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p1023_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p2020_serdes.c fsl: serdes: ensure accessing the initialized maps of serdes protocol 2016-09-14 14:06:49 -07:00
p2041_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05: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 net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05: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 net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05: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 net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05: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 net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
p5040_serdes.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
pci.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
portals.c powerpc/mpc85xx: Don't deref NULL if qman portal lacks cell-index 2015-05-04 09:24:57 -07:00
qe_io.c QE/U-QE: Add U-QE support 2014-04-22 17:58:47 -07:00
release.S remove unnecessary version.h includes 2015-03-24 10:50:50 -04: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 mpc85xx/t2081: enable parsing DDR ratio for T2081 rev1.1 2015-11-02 08:51:50 -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: T104x: Add nand secure boot target 2016-07-21 11:09:34 -07:00
t1024_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t1024_serdes.c powerpc/t1024: add serdes protocol 0x40 and 0x5f 2015-01-16 09:30:49 -08:00
t1040_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t1040_serdes.c arch/powerpc: Add SGMII support for the L2 Switch ports 2015-01-16 09:32:26 -08:00
t2080_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t2080_serdes.c powerpc/t2080: add serdes2 protocol 0x2e 2014-12-05 08:06:07 -08:00
t4240_ids.c net/fman: Support both new and legacy FMan Compatibles 2015-09-01 20:57:15 -05:00
t4240_serdes.c powerpc/t4240: update serdes table 2015-07-31 08:50:19 -07:00
tlb.c powerpc: Remove __ilog2_u64 and ffs4 from bitops 2015-11-05 16:47:05 -05:00
traps.c common: Add get_effective_memsize() to memsize.c 2014-02-21 11:06:13 -05:00
u-boot-nand_spl.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot-nand.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot-spl.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00
u-boot.lds mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition 2015-11-09 23:21:06 +00:00