From 46de8729952a4cc702ecb730923c470dd21edc07 Mon Sep 17 00:00:00 2001 From: Max Merchel Date: Mon, 23 Mar 2026 14:47:35 +0100 Subject: configs: tqma6: change to include tqma6.h in baseboard headers The SoM (TQMa6) can be used on various baseboards. No modifications to the SoM files should be required to use the SoM on different baseboards. Therefore, include the SoM headers in the baseboard. Signed-off-by: Max Merchel --- include/configs/tqma6.h | 13 ------------- include/configs/tqma6_mba6.h | 2 ++ include/configs/tqma6_wru4.h | 2 ++ 3 files changed, 4 insertions(+), 13 deletions(-) (limited to 'include') diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h index 3c6678aa2b8..00610e76869 100644 --- a/include/configs/tqma6.h +++ b/include/configs/tqma6.h @@ -38,17 +38,4 @@ #define TQMA6_SPI_UBOOT_START 0x400 #define TQMA6_SPI_UBOOT_SIZE 0xc0000 -/* - * All the defines above are for the TQMa6 SoM - * - * Now include the baseboard specific configuration - */ -#ifdef CONFIG_MBA6 -#include "tqma6_mba6.h" -#elif CONFIG_WRU4 -#include "tqma6_wru4.h" -#else -#error "No baseboard for the TQMa6 defined!" -#endif - #endif /* __TQMA6_CONFIG_H */ diff --git a/include/configs/tqma6_mba6.h b/include/configs/tqma6_mba6.h index 81f96ac91e8..c30aeae4f29 100644 --- a/include/configs/tqma6_mba6.h +++ b/include/configs/tqma6_mba6.h @@ -11,6 +11,8 @@ #ifndef __CONFIG_TQMA6_MBA6_H #define __CONFIG_TQMA6_MBA6_H +#include "tqma6.h" + #define CFG_MXC_UART_BASE UART2_BASE #endif /* __CONFIG_TQMA6_MBA6_H */ diff --git a/include/configs/tqma6_wru4.h b/include/configs/tqma6_wru4.h index 110bd895a8a..b35e471bd95 100644 --- a/include/configs/tqma6_wru4.h +++ b/include/configs/tqma6_wru4.h @@ -6,6 +6,8 @@ #ifndef __CONFIG_TQMA6_WRU4_H #define __CONFIG_TQMA6_WRU4_H +#include "tqma6.h" + /* Ethernet */ #define CFG_FEC_MXC_PHYADDR 0x01 -- cgit v1.3.1