diff mbox series

[06/10] am335x, guardian: display DHCP Failed on lcd when dhcp fails during boot

Message ID 20210106153156.2782-7-Gireesh.Hiremath@in.bosch.com
State Changes Requested
Delegated to: Lokesh Vutla
Headers show
Series Add support am335, Guardian | expand

Commit Message

Gireesh Hiremath Jan. 6, 2021, 3:31 p.m. UTC
From: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>

* Applicable only when distro_bootcmd is executed
* Text color is defaulted to White on Black Background
* Text color changes when changed in board.c
  Ex: Red when no splash screen image is found

Signed-off-by: Gireesh Hiremath <Gireesh.Hiremath@in.bosch.com>
---
 include/configs/am335x_guardian.h | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h
index 39e441952c..16ef639d9b 100644
--- a/include/configs/am335x_guardian.h
+++ b/include/configs/am335x_guardian.h
@@ -75,6 +75,9 @@ 
 		    "if tftp \"${tftp_load_addr}\" \"bootscript.scr\"; then " \
 		      "source \"${tftp_load_addr}\"; " \
 		    "fi; " \
+		  "else " \
+		    "setcurs 15 1; " \
+		    "lcdputs \"DHCP Failed\"; " \
 		  "fi; " \
 		"fi;" \
 		"run bootcmd_ubifs0;\0" \