diff options
author | York Sun <yorksun@freescale.com> | 2013-03-25 07:33:26 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-05-14 16:00:28 -0500 |
commit | eb80880eb2806eea4436e9ee7fd8a8b741ee0620 (patch) | |
tree | 55a796b4ed05cf36addcf6a57cd4670fa591db90 /arch | |
parent | 1e501f913667a5ce8ed139410ec71bc50c306a1c (diff) | |
download | u-boot-eb80880eb2806eea4436e9ee7fd8a8b741ee0620.zip u-boot-eb80880eb2806eea4436e9ee7fd8a8b741ee0620.tar.gz u-boot-eb80880eb2806eea4436e9ee7fd8a8b741ee0620.tar.bz2 |
powerpc/corenet2: Print SerDes protocol in decimal
Use decimal and hexadecimal for protocol numbers. It helps to match with
SoC user manual.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c index 01dcdf6..93eca76 100644 --- a/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c +++ b/arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c @@ -164,7 +164,7 @@ u64 serdes_init(u32 sd, u32 sd_addr, u32 sd_prctl_mask, u32 sd_prctl_shift) } cfg >>= sd_prctl_shift; - printf("Using SERDES%d Protocol: 0x%x\n", sd + 1, cfg); + printf("Using SERDES%d Protocol: %d (0x%x)\n", sd + 1, cfg, cfg); if (!is_serdes_prtcl_valid(sd, cfg)) printf("SERDES%d[PRTCL] = 0x%x is not valid\n", sd + 1, cfg); |