mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
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>
This commit is contained in:
parent
2766966750
commit
a79250785b
@ -272,6 +272,12 @@
|
|||||||
#ifndef CONFIG_SPL_BUILD
|
#ifndef CONFIG_SPL_BUILD
|
||||||
#include <config_distro_defaults.h>
|
#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),
|
* 240M RAM (256M minimum minus space for the framebuffer),
|
||||||
* 32M uncompressed kernel, 16M compressed kernel, 1M fdt,
|
* 32M uncompressed kernel, 16M compressed kernel, 1M fdt,
|
||||||
|
Loading…
Reference in New Issue
Block a user