int board_init(void)
{
- if (ctrlc()) {
+ if (ctrlc())
printf("CTRL-C detected; safeboot enabled\n");
- return 1;
- }
/* Address of boot parameters */
#ifdef CONFIG_OF_LIBFDT
val = readl(&cust[index * 8 + i]);
mac[i] = val >> shift;
}
- if (!is_valid_ether_addr(mac)) {
+ if (!is_valid_ethaddr(mac)) {
if (index == 0)
printf("No valid MAC address programmed\n");
return 0;
karo_fdt_enable_node(blob, "stk5led", 0);
fdt_fixup_mtdparts(blob, tx28_nand_nodes, ARRAY_SIZE(tx28_nand_nodes));
- fdt_fixup_ethernet(blob);
karo_fdt_fixup_touchpanel(blob, tx28_touchpanels,
ARRAY_SIZE(tx28_touchpanels));