Skip to contentSkip to conversation

mips: octeon: octeon_ebb7304_defconfig: Fix CFI flash setup

PATCH New Stefan Roese 2 participants 2 messages Apr 26, 2021 – Apr 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: octeon: octeon_ebb7304_defconfig: Fix CFI flash setup

This patch makes the necessary adjustments in the defconfig to fully support the CFI flash on the Octeon EBB7304.

Cc Aaron Williams <[email protected]>
Cc Chandrakala Chavva <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
---
 configs/octeon_ebb7304_defconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
configs/octeon_ebb7304_defconfig +3 -2
index f614e95ad166..5695bb754da7 100644
@@ -3,7 +3,7 @@ CONFIG_SYS_TEXT_BASE=0xffffffff80000000
 CONFIG_SYS_MALLOC_F_LEN=0x4000
 CONFIG_NR_DRAM_BANKS=2
 CONFIG_ENV_SIZE=0x2000
-CONFIG_ENV_SECT_SIZE=0x10000
+CONFIG_ENV_SECT_SIZE=0x2000
 CONFIG_DEBUG_UART_BASE=0x8001180000000800
 CONFIG_DEBUG_UART_CLOCK=1200000000
 CONFIG_ARCH_OCTEON=y
@@ -33,7 +33,7 @@ CONFIG_AMIGA_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_PARTITION_TYPE_GUID=y
 CONFIG_ENV_IS_IN_FLASH=y
-CONFIG_ENV_ADDR=0x1FBFE000
+CONFIG_ENV_ADDR=0x800000001FBFE000
 CONFIG_CLK=y
 # CONFIG_INPUT is not set
 CONFIG_MISC=y
@@ -47,6 +47,7 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
 CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
 CONFIG_FLASH_CFI_MTD=y
+CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_ATMEL=y
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/1 mips: octeon: octeon_ebb7304_defconfig: Fix CFI flash setup

Am Montag, den 26.04.2021, 16:43 +0200 schrieb Stefan Roese:

Quoted 12 lines

This patch makes the necessary adjustments in the defconfig to fully support the CFI flash on the Octeon EBB7304.

Cc Aaron Williams <[email protected]>
Cc Chandrakala Chavva <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
---
 configs/octeon_ebb7304_defconfig | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

applied to u-boot-mips, thanks.

Signature · 1 line
- Daniel