diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-10 18:00:20 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-21 07:24:11 +0100 |
commit | 469a579df2907a421afec06e37d50e61b7d80227 (patch) | |
tree | 6c122952681674360e6360b0d6d923c6741824e3 /net | |
parent | a9f04d49e519383f98689d603facdee227a2f94d (diff) | |
download | u-boot-imx-469a579df2907a421afec06e37d50e61b7d80227.zip u-boot-imx-469a579df2907a421afec06e37d50e61b7d80227.tar.gz u-boot-imx-469a579df2907a421afec06e37d50e61b7d80227.tar.bz2 |
dm: serial: Move current serial port pointer to global_data
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions