diff options
author | Tom Rini <trini@ti.com> | 2014-09-13 16:32:52 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-13 16:32:52 -0400 |
commit | 8d028d404fa117a4b1f425d7cfc8affe1d8df6d5 (patch) | |
tree | 39cad1c0da41fd8e45a29a4dba23289cbd411773 /include/configs/tegra-common.h | |
parent | 114cc4290b2f24bb314edf2edd5d8738a0778c4b (diff) | |
parent | 858530a8c0a7ce7e573e513934804a00d6676813 (diff) | |
download | u-boot-imx-8d028d404fa117a4b1f425d7cfc8affe1d8df6d5.zip u-boot-imx-8d028d404fa117a4b1f425d7cfc8affe1d8df6d5.tar.gz u-boot-imx-8d028d404fa117a4b1f425d7cfc8affe1d8df6d5.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-dm
Diffstat (limited to 'include/configs/tegra-common.h')
-rw-r--r-- | include/configs/tegra-common.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index d27fceb..834b3d5 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -20,6 +20,10 @@ #define CONFIG_DM #define CONFIG_CMD_DM +#define CONFIG_DM_GPIO +#ifndef CONFIG_SPL_BUILD +#define CONFIG_DM_SERIAL +#endif #define CONFIG_SYS_TIMER_RATE 1000000 #define CONFIG_SYS_TIMER_COUNTER NV_PA_TMRUS_BASE @@ -40,14 +44,19 @@ * Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (4 << 20) /* 4MB */ +#define CONFIG_SYS_MALLOC_F_LEN (1 << 10) /* * NS16550 Configuration */ -#define CONFIG_SYS_NS16550 +#ifdef CONFIG_SPL_BUILD #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE (-4) #define CONFIG_SYS_NS16550_CLK V_NS16550_CLK +#else +#define CONFIG_TEGRA_SERIAL +#endif +#define CONFIG_SYS_NS16550 /* * Common HW configuration. |