summaryrefslogtreecommitdiff
path: root/package/boot/uboot-sunxi/patches/020-boot-display-board-model-on-startup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-sunxi/patches/020-boot-display-board-model-on-startup.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/020-boot-display-board-model-on-startup.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/020-boot-display-board-model-on-startup.patch b/package/boot/uboot-sunxi/patches/020-boot-display-board-model-on-startup.patch
new file mode 100644
index 0000000..64dff48
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/020-boot-display-board-model-on-startup.patch
@@ -0,0 +1,25 @@
+From 2af25b747340c6c8f6a6b9e27632db577bf4da52 Mon Sep 17 00:00:00 2001
+From: Simon Glass <sjg@chromium.org>
+Date: Mon, 22 Feb 2016 22:55:46 -0700
+Subject: [PATCH] sunxi: Display the board model on start-up
+
+It is useful to know which sunxi board you are booting. Display this on
+start-up to avoid confusion.
+
+Signed-off-by: Simon Glass <sjg@chromium.org>
+---
+ include/configs/sunxi-common.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
+index ff356e3..b26363d 100644
+--- a/include/configs/sunxi-common.h
++++ b/include/configs/sunxi-common.h
+@@ -174,6 +174,7 @@
+
+ #define CONFIG_SYS_MONITOR_LEN (768 << 10) /* 768 KiB */
+ #define CONFIG_IDENT_STRING " Allwinner Technology"
++#define CONFIG_DISPLAY_BOARDINFO
+
+ #define CONFIG_ENV_OFFSET (544 << 10) /* (8 + 24 + 512) KiB */
+ #define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */