From ac14876f29bcf1d6553d95088a5e4509a97a7c82 Mon Sep 17 00:00:00 2001 From: Marek Szyprowski Date: Wed, 3 Feb 2021 08:11:29 +0100 Subject: [PATCH] samsung: tizen_amlogic: improve messages on boot Show proper button name while checking THOR download mode and change 'reboot' to 'reboot reason' to make it clear what it is being checked. Signed-off-by: Marek Szyprowski Change-Id: I543b020ea3a9ae3459f7a57d07db410945f45676 --- include/samsung/tizen_amlogic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h index 0a640c9..ad88bac 100644 --- a/include/samsung/tizen_amlogic.h +++ b/include/samsung/tizen_amlogic.h @@ -131,13 +131,13 @@ #define REBOOT_CHECK \ "sm reboot_reason reason; " \ - "echo \"reboot ${reason}\"; " \ + "echo \"Reboot reason: ${reason}\"; " \ "if test ${reason} = download; then " \ "thor; " \ "fi" #define BUTTON_CHECK \ - "echo Checking Func button state (for THOR download mode): \\\\\\\\c; " \ + "echo \"Checking ${button_label} button state (for THOR download mode): \\\\\\\\c\"; " \ "sleep 0.25; " \ "if button ${button_label}; then " \ "thor; " \ -- 2.7.4