aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-25 15:25:20 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-09-26 17:27:45 +0000
commit9e77d4d03773d32ea46c77ab969038738d1e327a (patch)
tree7c2678334ec1c0f384608f7414232719a46f69c8 /src
parentd1e18d9a44fdff0db0a738537c71c9c7741be69b (diff)
arch/: Replace __BOOTBLOCK__ with ENV_BOOTBLOCK
Change-Id: I294a3fd7be57b505cd209f7c2718a05770786c51 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35599 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/mips/include/arch/header.ld2
-rw-r--r--src/arch/ppc64/include/arch/header.ld2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/mips/include/arch/header.ld b/src/arch/mips/include/arch/header.ld
index 665013294c..7f832eb51c 100644
--- a/src/arch/mips/include/arch/header.ld
+++ b/src/arch/mips/include/arch/header.ld
@@ -19,7 +19,7 @@ PHDRS
to_load PT_LOAD;
}
-#ifdef __BOOTBLOCK__
+#if ENV_BOOTBLOCK
ENTRY(_start)
#else
ENTRY(stage_entry)
diff --git a/src/arch/ppc64/include/arch/header.ld b/src/arch/ppc64/include/arch/header.ld
index 349fd5165c..badeefdf49 100644
--- a/src/arch/ppc64/include/arch/header.ld
+++ b/src/arch/ppc64/include/arch/header.ld
@@ -19,7 +19,7 @@ PHDRS
to_load PT_LOAD;
}
-#ifdef __BOOTBLOCK__
+#if ENV_BOOTBLOCK
ENTRY(_start)
#else
ENTRY(stage_entry)