From 3b12a6fc8e8ee793fcc569a26b73f83b79fc4ba1 Mon Sep 17 00:00:00 2001 From: Victor Chong Date: Thu, 1 Feb 2018 00:37:49 +0900 Subject: [PATCH] hikey*, poplar: platform.mk: Fix typo in variable assignments Signed-off-by: Victor Chong --- plat/hisilicon/hikey/platform.mk | 4 ++-- plat/hisilicon/hikey960/platform.mk | 4 ++-- plat/hisilicon/poplar/platform.mk | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plat/hisilicon/hikey/platform.mk b/plat/hisilicon/hikey/platform.mk index d43b20b3..36629140 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 cd063058..ffe10738 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 58f21ed1..7c8027ea 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 -- 2.30.2