Remove the CONFIG_SPL_BUILD ifdef to use the pinctrl.
Change-Id: I0685b7fbd15896e991bdb3c68e79554bde67c57f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
*/
static bool bcm283x_is_serial_muxed(void)
{
-#ifndef CONFIG_SPL_BUILD
int serial_gpio = 15;
struct udevice *dev;
if (pinctrl_get_gpio_mux(dev, 0, serial_gpio) != BCM2835_GPIO_ALT5)
return false;
-#endif
return true;
}
*/
static bool bcm283x_is_serial_muxed(void)
{
-#ifndef CONFIG_SPL_BUILD
int serial_gpio = 15;
struct udevice *dev;
if (pinctrl_get_gpio_mux(dev, 0, serial_gpio) != BCM2835_GPIO_ALT0)
return false;
-#endif
return true;
}