mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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 <Max.Merchel@ew.tq-group.com>
This commit is contained in:
committed by
Fabio Estevam
parent
8ff44f6f61
commit
46de872995
@@ -7,7 +7,8 @@ config SYS_VENDOR
|
||||
default "tq"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "tqma6"
|
||||
default "tqma6_mba6" if MBA6
|
||||
default "tqma6_wru4" if WRU4
|
||||
|
||||
choice
|
||||
prompt "TQMa6 SoC variant"
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#ifndef __CONFIG_TQMA6_WRU4_H
|
||||
#define __CONFIG_TQMA6_WRU4_H
|
||||
|
||||
#include "tqma6.h"
|
||||
|
||||
/* Ethernet */
|
||||
#define CFG_FEC_MXC_PHYADDR 0x01
|
||||
|
||||
|
||||
Reference in New Issue
Block a user