Searched hist:"469 a579df2907a421afec06e37d50e61b7d80227" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/serial/ |
| H A D | serial-uclass.c | 469a579df2907a421afec06e37d50e61b7d80227 Tue Nov 11 01:00:20 UTC 2014 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/include/asm-generic/ |
| H A D | global_data.h | 469a579df2907a421afec06e37d50e61b7d80227 Tue Nov 11 01:00:20 UTC 2014 Simon Glass <sjg@chromium.org> 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>
|