diff mbox series

microblaze: Make extended addressing support default

Message ID f3864966c8ddd766a1702ad61b0e008a1f57462f.1665565423.git.michal.simek@amd.com
State Changes Requested
Delegated to: Michal Simek
Headers show
Series microblaze: Make extended addressing support default | expand

Commit Message

Michal Simek Oct. 12, 2022, 9:03 a.m. UTC
From: T Karthik Reddy <t.karthik.reddy@xilinx.com>

Axi qspi controller supports 32-bit & 24-bit addressing modes
for micron, macronix & spansion flash parts. But for winbond
flashes it only supports 24-bit addressing mode.
Enable CONFIG_SPI_FLASH_BAR to use extended addressing mode
to make 32-bit addressing mode work on all flashes.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Acked-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 configs/microblaze-generic_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Michal Simek Oct. 25, 2022, 8:29 a.m. UTC | #1
On 10/12/22 11:03, Michal Simek wrote:
> From: T Karthik Reddy <t.karthik.reddy@xilinx.com>
> 
> Axi qspi controller supports 32-bit & 24-bit addressing modes
> for micron, macronix & spansion flash parts. But for winbond
> flashes it only supports 24-bit addressing mode.
> Enable CONFIG_SPI_FLASH_BAR to use extended addressing mode
> to make 32-bit addressing mode work on all flashes.
> 
> Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
> Acked-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
>   configs/microblaze-generic_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
> index 0f650e59073f..c993cca3c5cb 100644
> --- a/configs/microblaze-generic_defconfig
> +++ b/configs/microblaze-generic_defconfig
> @@ -80,6 +80,7 @@ CONFIG_FLASH_CFI_MTD=y
>   CONFIG_SYS_FLASH_PROTECTION=y
>   CONFIG_SYS_FLASH_CFI=y
>   CONFIG_SYS_MAX_FLASH_SECT=2048
> +CONFIG_SPI_FLASH_BAR=y
>   CONFIG_SPI_FLASH_ISSI=y
>   CONFIG_SPI_FLASH_MACRONIX=y
>   CONFIG_SPI_FLASH_SPANSION=y

Applied.
M
diff mbox series

Patch

diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 0f650e59073f..c993cca3c5cb 100644
--- a/configs/microblaze-generic_defconfig
+++ b/configs/microblaze-generic_defconfig
@@ -80,6 +80,7 @@  CONFIG_FLASH_CFI_MTD=y
 CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_SYS_MAX_FLASH_SECT=2048
+CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_ISSI=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_SPANSION=y