blob: b3f59be8406545be9c8f85e2472972f9cd586075 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Kumar Gala56d150e2009-03-31 23:02:38 -05002/*
Kumar Gala819a4792010-06-09 22:33:53 -05003 * Copyright 2009-2010 Freescale Semiconductor, Inc.
Kumar Gala56d150e2009-03-31 23:02:38 -05004 */
5
6#ifndef _ASM_MP_H_
7#define _ASM_MP_H_
8
Kumar Gala56d150e2009-03-31 23:02:38 -05009void setup_mp(void);
Sughosh Ganu291bf9c2024-08-26 17:29:18 +053010void cpu_mp_lmb_reserve(void);
York Suna28496f2012-10-08 07:44:25 +000011u32 determine_mp_bootpg(unsigned int *pagesize);
Kumar Gala819a4792010-06-09 22:33:53 -050012int is_core_disabled(int nr);
Kumar Gala56d150e2009-03-31 23:02:38 -050013
York Sun2adf2ce2012-08-17 08:20:26 +000014#ifdef CONFIG_E6500
15#define thread_to_core(x) (x >> 1)
16#else
17#define thread_to_core(x) (x)
18#endif
19
Kumar Gala56d150e2009-03-31 23:02:38 -050020#endif