diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-09-13 10:49:20 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-09-14 11:16:17 +0000 |
commit | e3acc8fcf3f1cbf4a527cfcd6aa9aba9bd9d5e2b (patch) | |
tree | e3e162a29482d6b4e0928f2f440881a4e43368d9 /src/console | |
parent | 4a637802fa6fd8c532ce32e6595298e60e84f6d6 (diff) |
src/: Replace some __PRE_RAM__ use
Change-Id: Iaa56e7b98aad33eeb876edd7465c56c80fd1ac18
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35398
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/init.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/console/init.c b/src/console/init.c index 4859980647..d4818580e4 100644 --- a/src/console/init.c +++ b/src/console/init.c @@ -22,11 +22,7 @@ #include <version.h> /* Mutable console log level only allowed when RAM comes online. */ -#if defined(__PRE_RAM__) -#define CONSOLE_LEVEL_CONST 1 -#else -#define CONSOLE_LEVEL_CONST 0 -#endif +#define CONSOLE_LEVEL_CONST !ENV_STAGE_HAS_DATA_SECTION static int console_inited CAR_GLOBAL; static int console_loglevel = CONFIG_DEFAULT_CONSOLE_LOGLEVEL; |