samsung: tizen_amlogic: improve messages on boot
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 3 Feb 2021 07:11:29 +0000 (08:11 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Nov 2021 12:00:22 +0000 (13:00 +0100)
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 <m.szyprowski@samsung.com>
Change-Id: I543b020ea3a9ae3459f7a57d07db410945f45676

include/samsung/tizen_amlogic.h

index 951588b..eef2ea8 100644 (file)
 
 #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; " \