As one has moved to DM based LEDs, this code is required to setup the
default state.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
#include <asm/arch/ddrmc-vf610.h>
#include <asm/arch/crm_regs.h>
#include <asm/arch/clock.h>
+#include <led.h>
#include <environment.h>
DECLARE_GLOBAL_DATA_PTR;
struct src *psrc = (struct src *)SRC_BASE_ADDR;
u32 reg;
+ if (IS_ENABLED(CONFIG_LED))
+ led_default_state();
+
/*
* BK4r1 handle emergency/service SD card boot
* Checking the SBMR1 register BOOTCFG1 byte: