[U-Boot] [PATCH v3] board/BuR/brppt2: initial commit

Stefano Babic sbabic at denx.de
Sun Nov 3 20:17:20 UTC 2019


Hi Hannes,

On 17/07/19 14:29, Hannes Schmelzer wrote:
> This commit adds support for the brppt2 board. The board is based on the
> i.mx6 dual-lite SoC.
> 
> Signed-off-by: Hannes Schmelzer <hannes.schmelzer at br-automation.com>
> 
> ---
> 
Build is broken for this board because CONFIG_SYS_SPI_U_BOOT_OFFS went
to Kconfig and it is redefined. I fix it with:

diff --git a/configs/brppt2_defconfig b/configs/brppt2_defconfig
index f426317318..8f76262c5f 100644
--- a/configs/brppt2_defconfig
+++ b/configs/brppt2_defconfig
@@ -72,6 +72,7 @@ CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_SYS_SPI_U_BOOT_OFFS=0x100000
 # CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
 CONFIG_PHYLIB=y
 CONFIG_PHY_FIXED=y
diff --git a/include/configs/brppt2.h b/include/configs/brppt2.h
index 7849ca29f8..d369315090 100644
--- a/include/configs/brppt2.h
+++ b/include/configs/brppt2.h
@@ -116,10 +116,5 @@ BUR_COMMON_ENV \
 #ifdef CONFIG_SPL
 #include "imx6_spl.h"

-/* SPI support */
-#if defined(CONFIG_SPL_SPI_SUPPORT)
-# define CONFIG_SYS_SPI_U_BOOT_OFFS    0x100000
-#endif
-
 #endif /* CONFIG_SPL */
 #endif /* __CONFIG_BRPP2_IMX6_H */

and I applied to u-boot-imx. Let me know if something does not match.

Best regards,
Stefano

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


More information about the U-Boot mailing list