cfe.c (1150e181a14666a77dde80252f2b5cbaea69a498) cfe.c (b984d7b56dfcf71648102e227120bdc247562d00)
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation
4 */
5
6#include <linux/init.h>
7#include <linux/kernel.h>
8#include <linux/linkage.h>

--- 281 unchanged lines hidden (view full) ---

290 /* Not sure this is needed, but it's the safe way. */
291 arcs_cmdline[COMMAND_LINE_SIZE-1] = 0;
292
293 prom_meminit();
294
295#if defined(CONFIG_SIBYTE_BCM112X) || defined(CONFIG_SIBYTE_SB1250)
296 register_smp_ops(&sb_smp_ops);
297#endif
1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * Copyright (C) 2000, 2001, 2002, 2003 Broadcom Corporation
4 */
5
6#include <linux/init.h>
7#include <linux/kernel.h>
8#include <linux/linkage.h>

--- 281 unchanged lines hidden (view full) ---

290 /* Not sure this is needed, but it's the safe way. */
291 arcs_cmdline[COMMAND_LINE_SIZE-1] = 0;
292
293 prom_meminit();
294
295#if defined(CONFIG_SIBYTE_BCM112X) || defined(CONFIG_SIBYTE_SB1250)
296 register_smp_ops(&sb_smp_ops);
297#endif
298#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80)
298#ifdef CONFIG_SIBYTE_BCM1x80
299 register_smp_ops(&bcm1480_smp_ops);
300#endif
301}
302
303void prom_putchar(char c)
304{
305 int ret;
306
307 while ((ret = cfe_write(cfe_cons_handle, &c, 1)) == 0)
308 ;
309}
299 register_smp_ops(&bcm1480_smp_ops);
300#endif
301}
302
303void prom_putchar(char c)
304{
305 int ret;
306
307 while ((ret = cfe_write(cfe_cons_handle, &c, 1)) == 0)
308 ;
309}