020-boot-display-board-model-on-startup.patch 793 B

1234567891011121314151617181920212223
  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. It is useful to know which sunxi board you are booting. Display this on
  6. start-up to avoid confusion.
  7. Signed-off-by: Simon Glass <sjg@chromium.org>
  8. ---
  9. include/configs/sunxi-common.h | 1 +
  10. 1 file changed, 1 insertion(+)
  11. --- a/include/configs/sunxi-common.h
  12. +++ b/include/configs/sunxi-common.h
  13. @@ -174,6 +174,7 @@
  14. #define CONFIG_SYS_MONITOR_LEN (768 << 10) /* 768 KiB */
  15. #define CONFIG_IDENT_STRING " Allwinner Technology"
  16. +#define CONFIG_DISPLAY_BOARDINFO
  17. #define CONFIG_ENV_OFFSET (544 << 10) /* (8 + 24 + 512) KiB */
  18. #define CONFIG_ENV_SIZE (128 << 10) /* 128 KiB */