summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-11-09 13:23:15 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-11-11 10:31:14 +0000
commit19825e8e375d1c4d0448e7ffe3bb2e2c230c9eea (patch)
tree3ae3349e5c4c692f3ab842f7a42c483ac014a326 /Documentation
parentca7f93d5674535da84d5fb216328d95b58ecc3aa (diff)
downloadcoreboot-19825e8e375d1c4d0448e7ffe3bb2e2c230c9eea.tar.xz
Documentation: Add some significant 4.11 release notes
Change-Id: I0f9a5afe85068e6ef2a0b0d088557b0dd1e5bd91 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/releases/coreboot-4.11-relnotes.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/releases/coreboot-4.11-relnotes.md b/Documentation/releases/coreboot-4.11-relnotes.md
index 38299c13a6..d4fed06e68 100644
--- a/Documentation/releases/coreboot-4.11-relnotes.md
+++ b/Documentation/releases/coreboot-4.11-relnotes.md
@@ -30,6 +30,15 @@ Preprocessor use of `defined(__PRE_RAM_)` have been mostly replaced with
The remaining cases and `-D__PRE_RAM__` are to be removed soon after release.
+### `__BOOTBLOCK__` et.al. are converted
+
+This applies to all `ENV_xxx` definitions found in `<rules.h>`.
+
+Write code without preprocessor directives whenever possible, replacing
+`#ifdef __BOOTBLOCK__` with `if (ENV_BOOTBLOCK)`
+
+In cases where preprocessor is needed use `#if ENV_BOOTBLOCK` instead.
+
### `CAR_GLOBAL` is removed where possible
For all platform code with `NO_CAR_GLOBAL_MIGRATION=y`, any `CAR_GLOBAL`