diff options
author | Holger Brunck <holger.brunck@hitachi-powergrids.com> | 2020-10-09 17:21:33 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 11:26:08 -0400 |
commit | 0e3eb476056a0a6537a3860d0c6bd356d0f6df7c (patch) | |
tree | b7e24fa08a5448761d2642d014ee229c26fd8109 /include/configs | |
parent | 6a0952a3329f6f0f3397d28d4b03674cc85df103 (diff) | |
download | u-boot-0e3eb476056a0a6537a3860d0c6bd356d0f6df7c.tar.gz |
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/configs')
-rw-r--r-- | include/configs/km/keymile-common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index 6a8c41529f..c1968048a7 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 |