diff options
author | rick <rick@andestech.com> | 2017-04-17 14:41:58 +0800 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2017-05-22 14:05:33 +0800 |
commit | 86132af799d51e8e94d87dc56a071f325f369e0c (patch) | |
tree | eaa707979e38c41487e04cedf3f1685e15b72413 /include/configs/adp-ag101p.h | |
parent | a375ff8e14bea0a5cbfff99d6456aa8d9a3320ab (diff) | |
download | u-boot-86132af799d51e8e94d87dc56a071f325f369e0c.tar.gz |
nds32: Support AG101P serial DM.
Support AG101P serial device tree flow.
Signed-off-by: rick <rick@andestech.com>
Diffstat (limited to 'include/configs/adp-ag101p.h')
-rw-r--r-- | include/configs/adp-ag101p.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/adp-ag101p.h b/include/configs/adp-ag101p.h index b42fcfa8d5..106b591bc2 100644 --- a/include/configs/adp-ag101p.h +++ b/include/configs/adp-ag101p.h @@ -20,8 +20,6 @@ #define CONFIG_SKIP_LOWLEVEL_INIT -#define CONFIG_SYS_GENERIC_GLOBAL_DATA - /* * Definitions related to passing arguments to kernel. */ @@ -35,6 +33,10 @@ #ifdef CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_SYS_TEXT_BASE 0x00500000 +#ifdef CONFIG_OF_CONTROL +#undef CONFIG_OF_SEPARATE +#define CONFIG_OF_EMBED +#endif #else #ifdef CONFIG_MEM_REMAP #define CONFIG_SYS_TEXT_BASE 0x80000000 @@ -87,7 +89,9 @@ #define CONFIG_CONS_INDEX 1 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_COM1 CONFIG_FTUART010_02_BASE +#ifndef CONFIG_DM_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE -4 +#endif #define CONFIG_SYS_NS16550_CLK ((18432000 * 20) / 25) /* AG101P */ /* |