Simon Glass 8e83b76df4 spl: Add a function to determine the U-Boot phase
U-Boot is built in three phases: TPL, SPL and U-Boot proper. Sometimes
it is necessary to use different init code depending on the phase. For
example, TPL might do very basic CPU init, SPL might do a little more
and U-Boot proper might bring the CPU up to full speed and enable all
cores.

Add a function which allows easy determination of the current phase being
built.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-10-08 13:51:03 +08:00
..
2019-09-04 11:37:19 -05:00
2019-05-20 13:50:34 +02:00
2019-07-24 13:16:29 -04:00
2019-08-11 16:43:41 -04:00
2019-09-20 20:09:19 +02:00
2019-08-22 00:10:09 +02:00
2019-08-11 16:43:41 -04:00
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2019-04-22 12:06:39 -04:00
2019-08-11 16:43:41 -04:00
2019-02-20 15:27:09 +08:00
2019-02-09 12:50:22 -07:00
2019-08-27 11:19:23 +02:00
2019-01-01 14:12:18 +01:00
2019-08-11 16:43:41 -04:00
2019-02-02 08:19:17 -05:00
2019-08-07 15:31:02 -04:00
2019-08-02 11:19:14 -04:00
2019-07-18 16:37:13 -05:00
2019-05-20 13:50:34 +02:00
2019-07-18 16:37:13 -05:00
2019-05-20 13:50:34 +02:00
2019-09-16 08:09:22 +05:30
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2019-06-04 22:09:26 +02:00
2019-07-19 20:14:50 +02:00