aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-01-25 10:41:24 -0500
committerTom Rini <trini@konsulko.com>2019-01-25 10:41:24 -0500
commit87f78478a4a1bf574db0b0e575ca37cf91fb187c (patch)
treeffd24bbe72072067cda47dbc7ea1abe80b1e01ac /env
parentd01806a8fcbdaedcc67cead56ece572021d97ab7 (diff)
parentfae3798ac9f6de5a4cb1aa1e849d419a2bb8dbbe (diff)
downloadu-boot-87f78478a4a1bf574db0b0e575ca37cf91fb187c.zip
u-boot-87f78478a4a1bf574db0b0e575ca37cf91fb187c.tar.gz
u-boot-87f78478a4a1bf574db0b0e575ca37cf91fb187c.tar.bz2
Merge tag 'arc-fixes-for-2019.04-rc1' of git://git.denx.de/u-boot-arc
A couple of trivial fixes and improvements for ARC Most notable are: * Move of ENV_SIZE/ENV_OFFSET to Kconfig * Fix with private structure allocation for arc_uart * Definition of CONFIG_SYS_CACHELINE_SIZE useful for building drivers
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 9011109..c22cbbd 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -431,7 +431,7 @@ config ENV_EXT4_FILE
It's a string of the EXT4 file name. This file use to store the
environment (explicit path to the file)
-if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL
+if ARCH_ROCKCHIP || ARCH_SUNXI || ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_VERSAL || ARC
config ENV_OFFSET
hex "Environment Offset"
@@ -441,6 +441,7 @@ config ENV_OFFSET
default 0x88000 if ARCH_SUNXI
default 0xE0000 if ARCH_ZYNQ
default 0x1E00000 if ARCH_ZYNQMP
+ default 0 if ARC
help
Offset from the start of the device (or partition)
@@ -449,6 +450,7 @@ config ENV_SIZE
default 0x40000 if ENV_IS_IN_SPI_FLASH && ARCH_ZYNQMP
default 0x20000 if ARCH_SUNXI || ARCH_ZYNQ
default 0x8000 if ARCH_ROCKCHIP || ARCH_ZYNQMP || ARCH_VERSAL
+ default 0x4000 if ARC
help
Size of the environment storage area