mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
arm: imx6: tqma6: use CONFIG_TQM6x for SOM specific settings
We have a Kconfig name for the module types. Let's Use it. Some feature selections and configurations are based on the module. Module selection selects the CPU type. Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
This commit is contained in:
committed by
Stefano Babic
parent
2ea79a98c4
commit
d4b349e41b
@@ -18,17 +18,17 @@
|
||||
/* #endif */
|
||||
|
||||
/* place code in last 4 MiB of RAM */
|
||||
#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
|
||||
#if defined(CONFIG_TQMA6S)
|
||||
#define CONFIG_SYS_TEXT_BASE 0x2fc00000
|
||||
#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
|
||||
#elif defined(CONFIG_TQMA6Q)
|
||||
#define CONFIG_SYS_TEXT_BASE 0x4fc00000
|
||||
#endif
|
||||
|
||||
#include "mx6_common.h"
|
||||
|
||||
#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
|
||||
#if defined(CONFIG_TQMA6S)
|
||||
#define PHYS_SDRAM_SIZE (512u * SZ_1M)
|
||||
#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
|
||||
#elif defined(CONFIG_TQMA6Q)
|
||||
#define PHYS_SDRAM_SIZE (1024u * SZ_1M)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user