aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@hitachi-powergrids.com>2020-10-09 17:21:33 +0200
committerTom Rini <trini@konsulko.com>2020-10-22 11:26:08 -0400
commit0e3eb476056a0a6537a3860d0c6bd356d0f6df7c (patch)
treeb7e24fa08a5448761d2642d014ee229c26fd8109 /include
parent6a0952a3329f6f0f3397d28d4b03674cc85df103 (diff)
downloadu-boot-0e3eb476056a0a6537a3860d0c6bd356d0f6df7c.zip
u-boot-0e3eb476056a0a6537a3860d0c6bd356d0f6df7c.tar.gz
u-boot-0e3eb476056a0a6537a3860d0c6bd356d0f6df7c.tar.bz2
km/common: change ubicopy variable
Instead having a hard coded value for "cramfsaddr" after compile time, we change it to take the variable "cramfsaddr" for the ubicopy variable. This makes sure that ubicopy uses the right address, even when the value for "cramfsaddr" has changed. CC: Valentin Longchamp <valentin.longchamp@hitachi-powergrids.com> CC: Heiko Schocher <hs@denx.de> CC: Tom Rini <trini@konsulko.com> Signed-off-by: Holger Brunck <holger.brunck@hitachi-powergrids.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/km/keymile-common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 6a8c415..c196804 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -143,8 +143,7 @@
#define CONFIG_KM_DEF_ENV_FLASH_BOOT \
"cramfsaddr=" __stringify(CONFIG_KM_CRAMFS_ADDR) "\0" \
"cramfsloadkernel=cramfsload ${load_addr_r} ${uimage}\0" \
- "ubicopy=ubi read "__stringify(CONFIG_KM_CRAMFS_ADDR) \
- " bootfs${boot_bank}\0" \
+ "ubicopy=ubi read ${cramfsaddr} bootfs${boot_bank}\0" \
"uimage=" CONFIG_KM_UIMAGE_NAME \
CONFIG_KM_DEV_ENV_FLASH_BOOT_UBI