Commit 6b3d4f3def34d364d71a2eb89a2e33f1b6bb0d30

Authored by Andrew F. Davis
Committed by Tom Rini
1 parent fbd23b9b94

arm: mach-omap2: Remove secure certificate name printing

The signing certificate name is always 15 chars long, but need not be
null terminated. One solution is then to use printf precision modifiers
to only print this many chars ("%.15s"), but tiny printf does not support
this, so lets just drop printing the cert name for now.

Signed-off-by: Andrew F. Davis <afd@ti.com>

Showing 1 changed file with 6 additions and 6 deletions Side-by-side Diff

arch/arm/mach-omap2/sec-common.c
... ... @@ -168,16 +168,16 @@
168 168 }
169 169  
170 170 /*
171   - * Output notification of successful authentication as well the name of
172   - * the signing certificate used to re-assure the user that the secure
173   - * code is being processed as expected. However suppress any such log
174   - * output in case of building for SPL and booting via YMODEM. This is
175   - * done to avoid disturbing the YMODEM serial protocol transactions.
  171 + * Output notification of successful authentication to re-assure the
  172 + * user that the secure code is being processed as expected. However
  173 + * suppress any such log output in case of building for SPL and booting
  174 + * via YMODEM. This is done to avoid disturbing the YMODEM serial
  175 + * protocol transactions.
176 176 */
177 177 if (!(IS_ENABLED(CONFIG_SPL_BUILD) &&
178 178 IS_ENABLED(CONFIG_SPL_YMODEM_SUPPORT) &&
179 179 spl_boot_device() == BOOT_DEVICE_UART))
180   - printf("Authentication passed: %s\n", (char *)sig_addr);
  180 + printf("Authentication passed\n");
181 181  
182 182 return result;
183 183 }