diff options
author | Michael Kurz <michi.kurz@gmail.com> | 2017-01-22 16:04:27 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-01-28 14:04:47 -0500 |
commit | b20b70fcc027a173b61950e9bb4a736557d19697 (patch) | |
tree | d8c23ea158777541fe1442bde4fb58f627e80b65 /include/configs | |
parent | 081de09d493e648f38b71180ca83fdf9f5c657e7 (diff) | |
download | u-boot-imx-b20b70fcc027a173b61950e9bb4a736557d19697.zip u-boot-imx-b20b70fcc027a173b61950e9bb4a736557d19697.tar.gz u-boot-imx-b20b70fcc027a173b61950e9bb4a736557d19697.tar.bz2 |
net: stm32: add designware mac glue code for stm32
This patch adds glue code required for enabling the designware
mac on stm32f7 devices.
Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/stm32f746-disco.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/configs/stm32f746-disco.h b/include/configs/stm32f746-disco.h index b4a8f41..735ade6 100644 --- a/include/configs/stm32f746-disco.h +++ b/include/configs/stm32f746-disco.h @@ -40,6 +40,11 @@ #define CONFIG_STM32_FLASH #define CONFIG_STM32X7_SERIAL +#define CONFIG_DESIGNWARE_ETH +#define CONFIG_DW_GMAC_DEFAULT_DMA_PBL (8) +#define CONFIG_DW_ALTDESCRIPTOR +#define CONFIG_MII + #define CONFIG_STM32_HSE_HZ 25000000 #define CONFIG_SYS_CLK_FREQ 200000000 /* 200 MHz */ #define CONFIG_SYS_HZ_CLOCK 1000000 /* Timer is clocked at 1MHz */ @@ -54,8 +59,8 @@ + sizeof(CONFIG_SYS_PROMPT) + 16) #define CONFIG_SYS_MAXARGS 16 -#define CONFIG_SYS_MALLOC_LEN (16 * 1024) -#define CONFIG_STACKSIZE (64 << 10) +#define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024) +#define CONFIG_STACKSIZE (256 * 1024) #define CONFIG_BAUDRATE 115200 #define CONFIG_BOOTARGS \ |