[PATCH u-boot-mvebu v2 2/5] arm: mvebu: a37xx: Enable fuse command on all Armada 3720 boards

Stefan Roese sr at denx.de
Fri Feb 18 15:15:43 CET 2022


On 2/17/22 19:50, Pali Rohár wrote:
> Allow to read OTP bits via U-Boot fuse command on all Armada 3720 boards.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Reviewed-by: Marek Behún <marek.behun at nic.cz>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   configs/mvebu_db-88f3720_defconfig          | 2 ++
>   configs/mvebu_espressobin-88f3720_defconfig | 2 ++
>   configs/turris_mox_defconfig                | 2 ++
>   configs/uDPU_defconfig                      | 2 ++
>   4 files changed, 8 insertions(+)
> 
> diff --git a/configs/mvebu_db-88f3720_defconfig b/configs/mvebu_db-88f3720_defconfig
> index b600217692f1..6cc90fa54266 100644
> --- a/configs/mvebu_db-88f3720_defconfig
> +++ b/configs/mvebu_db-88f3720_defconfig
> @@ -5,6 +5,7 @@ CONFIG_SYS_TEXT_BASE=0x00000000
>   CONFIG_SYS_MALLOC_F_LEN=0x2000
>   CONFIG_NR_DRAM_BANKS=1
>   CONFIG_TARGET_MVEBU_ARMADA_37XX=y
> +CONFIG_MVEBU_EFUSE=y
>   CONFIG_ENV_SIZE=0x10000
>   CONFIG_ENV_OFFSET=0x3f0000
>   CONFIG_ENV_SECT_SIZE=0x10000
> @@ -24,6 +25,7 @@ CONFIG_DISPLAY_BOARDINFO_LATE=y
>   CONFIG_ARCH_EARLY_INIT_R=y
>   CONFIG_BOARD_EARLY_INIT_F=y
>   # CONFIG_CMD_FLASH is not set
> +CONFIG_CMD_FUSE=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_I2C=y
>   CONFIG_CMD_MMC=y
> diff --git a/configs/mvebu_espressobin-88f3720_defconfig b/configs/mvebu_espressobin-88f3720_defconfig
> index 4b8206a38f1b..f8196eab82e5 100644
> --- a/configs/mvebu_espressobin-88f3720_defconfig
> +++ b/configs/mvebu_espressobin-88f3720_defconfig
> @@ -5,6 +5,7 @@ CONFIG_SYS_TEXT_BASE=0x00000000
>   CONFIG_SYS_MALLOC_F_LEN=0x2000
>   CONFIG_NR_DRAM_BANKS=1
>   CONFIG_TARGET_MVEBU_ARMADA_37XX=y
> +CONFIG_MVEBU_EFUSE=y
>   CONFIG_ENV_SIZE=0x10000
>   CONFIG_ENV_OFFSET=0x3F0000
>   CONFIG_ENV_SECT_SIZE=0x10000
> @@ -26,6 +27,7 @@ CONFIG_ARCH_EARLY_INIT_R=y
>   CONFIG_BOARD_EARLY_INIT_F=y
>   CONFIG_BOARD_LATE_INIT=y
>   # CONFIG_CMD_FLASH is not set
> +CONFIG_CMD_FUSE=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_GPT=y
>   CONFIG_CMD_I2C=y
> diff --git a/configs/turris_mox_defconfig b/configs/turris_mox_defconfig
> index 84a0b4c2b20e..25e417c94562 100644
> --- a/configs/turris_mox_defconfig
> +++ b/configs/turris_mox_defconfig
> @@ -5,6 +5,7 @@ CONFIG_SYS_TEXT_BASE=0x00000000
>   CONFIG_SYS_MALLOC_F_LEN=0x2000
>   CONFIG_NR_DRAM_BANKS=2
>   CONFIG_TARGET_TURRIS_MOX=y
> +CONFIG_MVEBU_EFUSE=y
>   CONFIG_ENV_SIZE=0x10000
>   CONFIG_ENV_OFFSET=0x180000
>   CONFIG_ENV_SECT_SIZE=0x10000
> @@ -31,6 +32,7 @@ CONFIG_MISC_INIT_R=y
>   CONFIG_CMD_SHA1SUM=y
>   CONFIG_CMD_CLK=y
>   # CONFIG_CMD_FLASH is not set
> +CONFIG_CMD_FUSE=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_GPT=y
>   CONFIG_CMD_I2C=y
> diff --git a/configs/uDPU_defconfig b/configs/uDPU_defconfig
> index b5f2115e6332..7698e080e2a2 100644
> --- a/configs/uDPU_defconfig
> +++ b/configs/uDPU_defconfig
> @@ -4,6 +4,7 @@ CONFIG_ARCH_MVEBU=y
>   CONFIG_SYS_TEXT_BASE=0x00000000
>   CONFIG_SYS_MALLOC_F_LEN=0x2000
>   CONFIG_TARGET_MVEBU_ARMADA_37XX=y
> +CONFIG_MVEBU_EFUSE=y
>   CONFIG_ENV_SIZE=0x10000
>   CONFIG_ENV_OFFSET=0x180000
>   CONFIG_ENV_SECT_SIZE=0x10000
> @@ -29,6 +30,7 @@ CONFIG_SYS_PROMPT="uDPU>> "
>   # CONFIG_CMD_IMI is not set
>   # CONFIG_CMD_XIMG is not set
>   # CONFIG_CMD_FLASH is not set
> +CONFIG_CMD_FUSE=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_I2C=y
>   CONFIG_CMD_MMC=y

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list