Commit eb80880eb2806eea4436e9ee7fd8a8b741ee0620
Committed by
Andy Fleming
1 parent
1e501f9136
Exists in
master
and in
53 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
... | ... | @@ -164,7 +164,7 @@ |
164 | 164 | } |
165 | 165 | |
166 | 166 | cfg >>= sd_prctl_shift; |
167 | - printf("Using SERDES%d Protocol: 0x%x\n", sd + 1, cfg); | |
167 | + printf("Using SERDES%d Protocol: %d (0x%x)\n", sd + 1, cfg, cfg); | |
168 | 168 | if (!is_serdes_prtcl_valid(sd, cfg)) |
169 | 169 | printf("SERDES%d[PRTCL] = 0x%x is not valid\n", sd + 1, cfg); |
170 | 170 |