Simon Glass
e4d6ab0c2c
x86: Allow use of serial soon after relocation
...
At present on x86 machines with use cache-as-RAM, the memory goes away just
before board_init_r() is called. This means that serial drivers are
no-longer unavailable, until initr_dm() it called, etc.
Any attempt to use printf() within this period will cause a hang.
To fix this, mark the serial devices as 'unavailable' when it is no-longer
available. Bring it back when serial_initialize() is called. This means that
the debug UART will be used instead for this period.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2016-03-17 10:27:24 +08:00
..
2016-01-15 08:09:46 -05:00
2016-03-15 21:30:20 -04:00
2016-02-05 12:47:20 +08:00
2016-03-17 10:27:24 +08:00
2015-08-13 07:19:36 -04:00
2016-03-17 10:27:24 +08:00
2015-12-12 15:56:08 -05:00
2016-03-14 19:18:26 -04:00
2014-05-29 17:49:00 -04:00
2014-09-15 13:32:55 -04:00
2016-02-08 10:10:37 -05:00
2015-08-12 20:47:13 -04:00
2016-01-13 21:05:26 -05:00
2016-01-04 12:25:35 -05:00
2015-11-19 20:27:50 -07:00
2016-02-11 21:37:17 +01:00
2015-04-18 11:11:16 -06:00
2016-01-19 08:31:21 -05:00
2016-03-08 15:01:47 -05:00
2015-05-13 09:24:10 -07:00
2015-05-21 09:13:19 -04:00
2016-01-04 12:25:35 -05:00
2014-07-22 07:44:26 -04:00
2014-03-21 16:43:59 -04:00
2015-11-21 21:50:26 -05:00
2014-06-05 17:01:59 -04:00
2016-03-14 14:18:39 -04:00
2016-03-14 15:34:50 -06:00
2016-02-15 20:58:25 +00:00
2014-04-17 17:44:36 -04:00
2016-01-25 10:39:46 -05:00
2015-09-11 17:15:20 -04:00
2013-10-14 16:06:53 -04:00
2014-03-21 16:43:59 -04:00
2014-03-21 16:43:59 -04:00
2013-10-14 16:06:53 -04:00
2016-01-27 08:28:40 -08:00
2015-11-19 07:32:49 +01:00
2015-07-20 11:44:37 -07:00
2016-03-14 15:34:50 -06:00
2015-11-12 13:18:59 -05:00
2016-01-20 19:10:12 -07:00
2015-01-05 12:08:51 -05:00
2016-01-13 21:05:08 -05:00
2015-10-11 17:12:10 -04:00
2016-03-15 21:30:14 -04:00
2016-03-14 19:18:41 -04:00
2015-02-16 12:41:41 -05:00
2015-11-12 13:18:59 -05:00
2016-03-14 19:18:28 -04:00
2015-11-19 20:27:50 -07:00
2015-04-18 11:11:09 -06:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2014-09-16 12:23:56 -04:00
2015-04-18 17:40:37 +02:00
2015-04-18 17:40:37 +02:00
2015-07-23 18:10:58 +02:00
2016-01-24 00:38:40 +01:00
2016-02-08 10:22:44 -05:00
2016-03-14 19:18:26 -04:00
2016-03-17 10:27:23 +08:00
2016-02-10 08:34:42 -05:00
2015-05-27 13:35:54 -04:00
2015-12-05 18:22:24 -05:00
2015-11-16 12:01:35 +01:00
2015-02-10 13:31:58 +01:00
2016-01-21 20:42:36 -07:00
2015-09-07 13:41:05 +02:00
2015-11-19 20:27:50 -07:00
2016-01-25 22:00:46 +01:00
2016-03-14 15:34:50 -06:00
2016-01-16 07:06:55 +01:00
2016-03-14 19:18:42 -04:00