#include <common.h>
#include <command.h>
#include <dm.h>
+#include <env.h>
#include <i2c.h>
+#include <wdt.h>
#include <asm/gpio.h>
#include <linux/mbus.h>
#include <linux/io.h>
return 0;
}
+void spl_board_init(void)
+{
+}
+
int board_init(void)
{
/* address of boot parameters */
/* DEV_READYn is not needed for NVS, ignore it when accessing CS1 */
writel(0x00004001, MVEBU_DEV_BUS_BASE + 0xc8);
+ spl_board_init();
+
return 0;
}
+void arch_preboot_os(void)
+{
+#ifdef CONFIG_WATCHDOG
+ wdt_stop(gd->watchdog_dev);
+#endif
+}
+
static int led_7seg_init(unsigned int segments)
{
int node;