diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2019-05-09 17:09:25 +0000 |
---|---|---|
committer | ron minnich <rminnich@gmail.com> | 2019-05-11 03:24:33 +0000 |
commit | 4249348735d18cb2d44506090a675a29b0567e7f (patch) | |
tree | 5adc714e28e2f680c36708aaa46d3326aea925ea /src/include | |
parent | 998dc17f522af6ef8fc7c85fa1e90fa7873fe7d1 (diff) |
Define ENV_PAYLOAD_LOADER
We've been assuming that ENV_RAMSTAGE is always the payload loader.
In order to test out different models, we need a way to mark the
"stage we are in" as the payload loader.
Define a new rule, ENV_PAYLOAD_LOADER. For now, it is set
to ENV_RAMSTAGE. It is not used yet pending approval of this
approach.
Change-Id: I7d4aa71bad92987374d57ff350b9b0178ee7c12b
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32709
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/rules.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/rules.h b/src/include/rules.h index ea8335fb8c..ce968f0dd9 100644 --- a/src/include/rules.h +++ b/src/include/rules.h @@ -257,6 +257,10 @@ #endif +/* ENV_PAYLOAD_LOADER is set when you are in a stage that loads the payload. + * For now, that is the ramstage. */ +#define ENV_PAYLOAD_LOADER ENV_RAMSTAGE + /** * For pre-DRAM stages and post-CAR always build with simple device model, ie. * PCI, PNP and CPU functions operate without use of devicetree. The reason |