diff options
author | Siarhei Siamashka <siarhei.siamashka@gmail.com> | 2015-01-08 09:02:32 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-14 14:56:40 +0100 |
commit | a79250785b8a32187229b9440c4871c165775fd5 (patch) | |
tree | 3cc355343de521ca864915f0b4975d239d6fa250 /include/configs | |
parent | 27669667504de3456fd7768c76a7d1837bf37d6e (diff) |
sunxi: Enable pre-console buffer
This allows to always have a complete log on the VGA/HDMI/LCD console.
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/sunxi-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 64d379a3efe..e839053e2ba 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -272,6 +272,12 @@ #ifndef CONFIG_SPL_BUILD #include <config_distro_defaults.h> +/* Enable pre-console buffer to get complete log on the VGA console */ +#define CONFIG_PRE_CONSOLE_BUFFER +#define CONFIG_PRE_CON_BUF_SZ (1024 * 1024) +/* Use the room between the end of bootm_size and the framebuffer */ +#define CONFIG_PRE_CON_BUF_ADDR 0x4f000000 + /* * 240M RAM (256M minimum minus space for the framebuffer), * 32M uncompressed kernel, 16M compressed kernel, 1M fdt, |