summaryrefslogtreecommitdiff
path: root/board/st
diff options
context:
space:
mode:
Diffstat (limited to 'board/st')
-rw-r--r--board/st/stm32f746-disco/MAINTAINERS2
-rw-r--r--board/st/stm32f746-disco/stm32f746-disco.c36
2 files changed, 1 insertions, 37 deletions
diff --git a/board/st/stm32f746-disco/MAINTAINERS b/board/st/stm32f746-disco/MAINTAINERS
index 18e4c99c4fb..f9c3af6fb8b 100644
--- a/board/st/stm32f746-disco/MAINTAINERS
+++ b/board/st/stm32f746-disco/MAINTAINERS
@@ -1,5 +1,5 @@
STM32F746 DISCOVERY BOARD
-M: Vikas Manocha <vikas.manocha@st.com>
+M: Patrice Chotard <patrice.chotard@foss.st.com>
S: Maintained
F: doc/board/st/
F: board/st/stm32f746-disco
diff --git a/board/st/stm32f746-disco/stm32f746-disco.c b/board/st/stm32f746-disco/stm32f746-disco.c
index 8966a09501e..07bc8a5f0a2 100644
--- a/board/st/stm32f746-disco/stm32f746-disco.c
+++ b/board/st/stm32f746-disco/stm32f746-disco.c
@@ -76,42 +76,6 @@ u32 spl_boot_device(void)
}
#endif
-int board_late_init(void)
-{
- struct gpio_desc gpio = {};
- int node;
-
- node = fdt_node_offset_by_compatible(gd->fdt_blob, 0, "st,led1");
- if (node < 0)
- return -1;
-
- gpio_request_by_name_nodev(offset_to_ofnode(node), "led-gpio", 0, &gpio,
- GPIOD_IS_OUT);
-
- if (dm_gpio_is_valid(&gpio)) {
- dm_gpio_set_value(&gpio, 0);
- mdelay(10);
- dm_gpio_set_value(&gpio, 1);
- }
-
- /* read button 1*/
- node = fdt_node_offset_by_compatible(gd->fdt_blob, 0, "st,button1");
- if (node < 0)
- return -1;
-
- gpio_request_by_name_nodev(offset_to_ofnode(node), "button-gpio", 0,
- &gpio, GPIOD_IS_IN);
-
- if (dm_gpio_is_valid(&gpio)) {
- if (dm_gpio_get_value(&gpio))
- puts("usr button is at HIGH LEVEL\n");
- else
- puts("usr button is at LOW LEVEL\n");
- }
-
- return 0;
-}
-
int board_init(void)
{
#ifdef CONFIG_ETH_DESIGNWARE