From: Alexander Feilke <[email protected]>

Clarify the intended use of the variable.

Signed-off-by: Alexander Feilke <[email protected]>
---
 board/tq/tqma6ul/tqma6ul.env | 2 +-
 include/configs/tqma6ul.h    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/tq/tqma6ul/tqma6ul.env b/board/tq/tqma6ul/tqma6ul.env
index fa172caca23..aa42aa6e3d7 100644
--- a/board/tq/tqma6ul/tqma6ul.env
+++ b/board/tq/tqma6ul/tqma6ul.env
@@ -29,7 +29,7 @@ uboot_mmc_start=TQMA6UL_MMC_UBOOT_SECTOR_START
 uboot_mmc_size=TQMA6UL_MMC_UBOOT_SECTOR_COUNT
 uboot_spi_sector_size=TQMA6UL_SPI_FLASH_SECTOR_SIZE
 uboot_spi_start=TQMA6UL_SPI_UBOOT_START
-uboot_spi_size=TQMA6UL_SPI_UBOOT_SIZE
+uboot_spi_size=TQMA6UL_SPI_UBOOT_MAX_SIZE
 
 #ifdef CONFIG_USB_FUNCTION_FASTBOOT
 
diff --git a/include/configs/tqma6ul.h b/include/configs/tqma6ul.h
index 89bd8102500..34378b33a22 100644
--- a/include/configs/tqma6ul.h
+++ b/include/configs/tqma6ul.h
@@ -19,7 +19,7 @@
 
 #define TQMA6UL_SPI_FLASH_SECTOR_SIZE  SZ_64K
 #define TQMA6UL_SPI_UBOOT_START                SZ_4K
-#define TQMA6UL_SPI_UBOOT_SIZE         0xf0000
+#define TQMA6UL_SPI_UBOOT_MAX_SIZE     0xf0000
 
 /* 128 MiB offset as suggested in ARM related Linux docs */
 #define TQMA6UL_FDT_ADDRESS            0x88000000
-- 
2.43.0

Reply via email to