sunxi: add support for kernel 4.9
[openwrt/openwrt.git] / package / boot / uboot-sunxi / patches / 020-boot-display-board-model-on-startup.patch
1 From 2af25b747340c6c8f6a6b9e27632db577bf4da52 Mon Sep 17 00:00:00 2001
2 From: Simon Glass <sjg@chromium.org>
3 Date: Mon, 22 Feb 2016 22:55:46 -0700
4 Subject: [PATCH] sunxi: Display the board model on start-up
5
6 It is useful to know which sunxi board you are booting. Display this on
7 start-up to avoid confusion.
8
9 Signed-off-by: Simon Glass <sjg@chromium.org>
10 ---
11 include/configs/sunxi-common.h | 1 +
12 1 file changed, 1 insertion(+)
13
14 --- a/include/configs/sunxi-common.h
15 +++ b/include/configs/sunxi-common.h
16 @@ -174,6 +174,7 @@
17
18 #define CONFIG_SYS_MONITOR_LEN (768 << 10) /* 768 KiB */
19 #define CONFIG_IDENT_STRING " Allwinner Technology"
20 +#define CONFIG_DISPLAY_BOARDINFO
21
22 #define CONFIG_ENV_OFFSET (544 << 10) /* (8 + 24 + 512) KiB */
23 #define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */