mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
20fe38e75a
Move SYSCFG clock setup into configure_clocks() instead of calling clock_setup() from board file. As this clock is only needed in case of ethernet enabled and as both stm32f4 and stm32f7 are using the Designware ethernet IP, we use CONFIG_ETH_DESIGNWARE to only enable this clock if needed. Move the RMII setup from board_early_init_f() to board_init() to insure that RMII bit is set only when clock driver is initialized. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
27 lines
566 B
C
27 lines
566 B
C
/*
|
|
* Copyright (C) 2016, STMicroelectronics - All Rights Reserved
|
|
* Author(s): Vikas Manocha, <vikas.manocha@st.com> for STMicroelectronics.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_ARCH_PERIPH_H
|
|
#define __ASM_ARM_ARCH_PERIPH_H
|
|
|
|
/*
|
|
* Peripherals required for pinmux configuration. List will
|
|
* grow with support for more devices getting added.
|
|
* Numbering based on interrupt table.
|
|
*
|
|
*/
|
|
enum periph_id {
|
|
PERIPH_ID_USART1 = 37,
|
|
|
|
PERIPH_ID_QUADSPI = 92,
|
|
};
|
|
|
|
enum periph_clock {
|
|
TIMER2_CLOCK_CFG,
|
|
};
|
|
|
|
#endif /* __ASM_ARM_ARCH_PERIPH_H */
|