]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: stm32f7: Fix SPL code size
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 4 Jan 2019 09:55:06 +0000 (10:55 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 9 Jan 2019 12:13:33 +0000 (07:13 -0500)
commitf4ebdf51123ea56f508bd6f73aef6e23736838f9
treea41a8a53c8e92be82d68a6b7862b50971ec2522a
parent4f0d236bef39eee3f7991bc7f62cc58f9354af9f
gpio: stm32f7: Fix SPL code size

In order to keep SPL code size below the 32Kb limit,
put under CONFIG_SPL_BUILD flag all unused code in SPL.
This is needed for stm32f7xx board which are using SPL.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/gpio/stm32f7_gpio.c