/* Implement a dummy function for those platforms w/o SERDES */
static void __fsl_serdes__init(void)
{
- return ;
+ return;
}
__attribute__((weak, alias("__fsl_serdes__init"))) void fsl_serdes_init(void);
ifc_out32(&(ifc_regs.gregs->csor_cs[0].csor), CONFIG_SYS_CSOR0);
ifc_out32(&(ifc_regs.gregs->amask_cs[0].amask), CONFIG_SYS_AMASK0);
- return ;
+ return;
}
#endif
if (ph == NULL) {
debug("no next-level-cache property\n");
- return ;
+ return;
}
off = fdt_node_offset_by_phandle(blob, *ph);
if (off < 0) {
printf("%s: %s\n", __func__, fdt_strerror(off));
- return ;
+ return;
}
ft_fixup_l2cache_compatible(blob, off);
l3_off = fdt_node_offset_by_phandle(blob, l3_off);
if (l3_off < 0) {
printf("%s: %s\n", __func__, fdt_strerror(off));
- return ;
+ return;
}
ft_fixup_l3cache(blob, l3_off);
}
#endif
default:
printf("Error: Invalid device type to %s\n", __FUNCTION__);
- return ;
+ return;
}
base = (liodn_bases[dev].id[0] << 16) | liodn_bases[dev].id[0];
/* search for srio node, if doesn't exist just return - nothing todo */
srio_off = fdt_node_offset_by_compatible(blob, -1, "fsl,srio");
if (srio_off < 0)
- return ;
+ return;
for (i = 0; i < srio_liodn_tbl_sz; i++) {
int off, portid = tbl[i].portid;
if (srds1_cfg >= ARRAY_SIZE(serdes1_cfg_tbl)) {
printf("Invalid PORDEVSR[IO_SEL] = %d\n", srds1_cfg);
- return ;
+ return;
}
for (lane = 0; lane < SRDS1_MAX_LANES; lane++) {
off = fdt_node_offset_by_compatible(blob, -1, compat);
if (off < 0)
- return ;
+ return;
off = fdt_parent_offset(blob, off);
/* if non-zero assume we have a container */
range = fdt_getprop_w(blob, off, "ranges", &len);
if (range == NULL) {
printf("ERROR: container for %s has no ranges", compat);
- return ;
+ return;
}
range[0] = 0;
if (container && (memcmp(container, name, len))) {
printf("WARNING: container names didn't match %s %s\n",
container, name);
- return ;
+ return;
}
memcpy(&buf, name, len);
len += sprintf(&buf[len], "@%llx", addr);
fdt_set_name(blob, off, buf);
- return ;
+ return;
}
printf("ERROR: %s isn't in a container. Not supported\n", compat);
tlb_table[i].mas7);
}
- return ;
+ return;
}
#if !defined(CONFIG_NAND_SPL) && \
/* search for srio node, if doesn't exist just return - nothing todo */
srio_off = fdt_node_offset_by_compatible(blob, -1, "fsl,srio");
if (srio_off < 0)
- return ;
+ return;
#ifdef CONFIG_SRIO1
if (is_serdes_configured(SRIO1))
}
#endif
- return ;
+ return;
}
cmd_start, cmd_end, 0, 0);
/* does not return */
}
- return ;
+ return;
}
void arch_lmb_reserve(struct lmb *lmb)
cpu_mp_lmb_reserve(lmb);
#endif
- return ;
+ return;
}
static void boot_prep_linux(struct bootm_headers *images)
ret = gpio_request(rst_gpio, "");
if (ret < 0) {
printf("Unable to get GPIO %d\n", rst_gpio);
- return ;
+ return;
}
/* Configure as output */
if (set_ddr_laws(base, size, law_memctl) < 0) {
printf("%s: ERROR (ctrl #%d, TRGT ID=%x)\n", __func__, ctrl_num,
law_memctl);
- return ;
+ return;
}
debug("setup ddr law base = 0x%llx, size 0x%llx, TRGT_ID 0x%x\n",
base, size, law_memctl);
}
}
- return ;
+ return;
}
void fm_disable_port(enum fm_port port)
__def_board_ft_fman_fixup_port(void *blob, char * prop, phys_addr_t pa,
enum fm_port port, int offset)
{
- return ;
+ return;
}
void board_ft_fman_fixup_port(void *blob, char * prop, phys_addr_t pa,