diff options
author | Andrew F. Davis <afd@ti.com> | 2018-01-09 14:33:54 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-19 15:49:30 -0500 |
commit | 6b3d4f3def34d364d71a2eb89a2e33f1b6bb0d30 (patch) | |
tree | 369290f005ad3d795b3d34db7bd504128ddb456a /arch | |
parent | fbd23b9b94e848f715b8b5d34793fadc60190b35 (diff) | |
download | u-boot-6b3d4f3def34d364d71a2eb89a2e33f1b6bb0d30.zip u-boot-6b3d4f3def34d364d71a2eb89a2e33f1b6bb0d30.tar.gz u-boot-6b3d4f3def34d364d71a2eb89a2e33f1b6bb0d30.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/sec-common.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/sec-common.c b/arch/arm/mach-omap2/sec-common.c index 674517e..896cb70 100644 --- a/arch/arm/mach-omap2/sec-common.c +++ b/arch/arm/mach-omap2/sec-common.c @@ -168,16 +168,16 @@ auth_exit: } /* - * Output notification of successful authentication as well the name of - * the signing certificate used to re-assure the user that the secure - * code is being processed as expected. However suppress any such log - * output in case of building for SPL and booting via YMODEM. This is - * done to avoid disturbing the YMODEM serial protocol transactions. + * Output notification of successful authentication to re-assure the + * user that the secure code is being processed as expected. However + * suppress any such log output in case of building for SPL and booting + * via YMODEM. This is done to avoid disturbing the YMODEM serial + * protocol transactions. */ if (!(IS_ENABLED(CONFIG_SPL_BUILD) && IS_ENABLED(CONFIG_SPL_YMODEM_SUPPORT) && spl_boot_device() == BOOT_DEVICE_UART)) - printf("Authentication passed: %s\n", (char *)sig_addr); + printf("Authentication passed\n"); return result; } |