
13 Nov
2014
13 Nov
'14
6:24 a.m.
On 10 November 2014 18:00, Simon Glass sjg@chromium.org wrote:
In general we can't store things in the data section until we have inited SDRAM. Some platforms allow this (e.g. those with SPL) but some don't. Move the pointer to global_data so that it will work on all platforms.
Without this fix the serial port will not work prior to relocation with driver model on some platforms.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
drivers/serial/serial-uclass.c | 35 +++++++++++++++++++---------------- include/asm-generic/global_data.h | 1 + 2 files changed, 20 insertions(+), 16 deletions(-)
Applied to u-boot-x86.