On 10 November 2014 18:00, Simon Glass <s...@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 <s...@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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to