aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Chong <victor.chong@linaro.org>2018-02-01 00:37:49 +0900
committerVictor Chong <victor.chong@linaro.org>2018-02-08 02:14:46 +0900
commit3b12a6fc8e8ee793fcc569a26b73f83b79fc4ba1 (patch)
tree290dd0967e025ce3609a6c944b0d79a3c8d23ec1
parentf3d522be8e567bb42663d0abd69f89715c58e591 (diff)
downloadtrusted-firmware-a-3b12a6fc8e8ee793fcc569a26b73f83b79fc4ba1.tar.gz
hikey*, poplar: platform.mk: Fix typo in variable assignments
Signed-off-by: Victor Chong <victor.chong@linaro.org>
-rw-r--r--plat/hisilicon/hikey/platform.mk4
-rw-r--r--plat/hisilicon/hikey960/platform.mk4
-rw-r--r--plat/hisilicon/poplar/platform.mk4
3 files changed, 6 insertions, 6 deletions
diff --git a/plat/hisilicon/hikey/platform.mk b/plat/hisilicon/hikey/platform.mk
index d43b20b3ee..3662914055 100644
--- a/plat/hisilicon/hikey/platform.mk
+++ b/plat/hisilicon/hikey/platform.mk
@@ -9,11 +9,11 @@ LOAD_IMAGE_V2 := 1
# On Hikey, the TSP can execute from TZC secure area in DRAM (default)
# or SRAM.
-HIKEY_TSP_RAM_LOCATION := dram
+HIKEY_TSP_RAM_LOCATION ?= dram
ifeq (${HIKEY_TSP_RAM_LOCATION}, dram)
HIKEY_TSP_RAM_LOCATION_ID = HIKEY_DRAM_ID
else ifeq (${HIKEY_TSP_RAM_LOCATION}, sram)
- HIKEY_TSP_RAM_LOCATION_ID := HIKEY_SRAM_ID
+ HIKEY_TSP_RAM_LOCATION_ID = HIKEY_SRAM_ID
else
$(error "Currently unsupported HIKEY_TSP_RAM_LOCATION value")
endif
diff --git a/plat/hisilicon/hikey960/platform.mk b/plat/hisilicon/hikey960/platform.mk
index cd063058eb..ffe10738f5 100644
--- a/plat/hisilicon/hikey960/platform.mk
+++ b/plat/hisilicon/hikey960/platform.mk
@@ -8,11 +8,11 @@
LOAD_IMAGE_V2 := 1
# On Hikey960, the TSP can execute from TZC secure area in DRAM.
-HIKEY960_TSP_RAM_LOCATION := dram
+HIKEY960_TSP_RAM_LOCATION ?= dram
ifeq (${HIKEY960_TSP_RAM_LOCATION}, dram)
HIKEY960_TSP_RAM_LOCATION_ID = HIKEY960_DRAM_ID
else ifeq (${HIKEY960_TSP_RAM_LOCATION}, sram)
- HIKEY960_TSP_RAM_LOCATION_ID := HIKEY960_SRAM_ID
+ HIKEY960_TSP_RAM_LOCATION_ID = HIKEY960_SRAM_ID
else
$(error "Currently unsupported HIKEY960_TSP_RAM_LOCATION value")
endif
diff --git a/plat/hisilicon/poplar/platform.mk b/plat/hisilicon/poplar/platform.mk
index 58f21ed1d9..7c8027eada 100644
--- a/plat/hisilicon/poplar/platform.mk
+++ b/plat/hisilicon/poplar/platform.mk
@@ -8,11 +8,11 @@
LOAD_IMAGE_V2 := 1
# On Poplar, the TSP can execute from TZC secure area in DRAM.
-POPLAR_TSP_RAM_LOCATION := dram
+POPLAR_TSP_RAM_LOCATION ?= dram
ifeq (${POPLAR_TSP_RAM_LOCATION}, dram)
POPLAR_TSP_RAM_LOCATION_ID = POPLAR_DRAM_ID
else ifeq (${POPLAR_TSP_RAM_LOCATION}, sram)
- POPLAR_TSP_RAM_LOCATION_ID := POPLAR_SRAM_ID
+ POPLAR_TSP_RAM_LOCATION_ID = POPLAR_SRAM_ID
else
$(error "Currently unsupported POPLAR_TSP_RAM_LOCATION value")
endif