Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Mark Salter | de0eed2 | 2012-11-28 14:16:05 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Port on Texas Instruments TMS320C6x architecture |
| 4 | * |
| 5 | * Copyright (C) 2004, 2009, 2010 2011 Texas Instruments Incorporated |
| 6 | * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) |
Mark Salter | de0eed2 | 2012-11-28 14:16:05 -0500 | [diff] [blame] | 7 | */ |
| 8 | #ifndef _ASM_C6X_SETUP_H |
| 9 | #define _ASM_C6X_SETUP_H |
| 10 | |
| 11 | #include <uapi/asm/setup.h> |
Chen Gang | 9bd54f6 | 2015-03-04 06:06:26 +0800 | [diff] [blame] | 12 | #include <linux/types.h> |
Mark Salter | de0eed2 | 2012-11-28 14:16:05 -0500 | [diff] [blame] | 13 | |
| 14 | #ifndef __ASSEMBLY__ |
Mark Salter | de0eed2 | 2012-11-28 14:16:05 -0500 | [diff] [blame] | 15 | extern int c6x_add_memory(phys_addr_t start, unsigned long size); |
| 16 | |
| 17 | extern unsigned long ram_start; |
| 18 | extern unsigned long ram_end; |
| 19 | |
| 20 | extern int c6x_num_cores; |
| 21 | extern unsigned int c6x_silicon_rev; |
| 22 | extern unsigned int c6x_devstat; |
| 23 | extern unsigned char c6x_fuse_mac[6]; |
| 24 | |
| 25 | extern void machine_init(unsigned long dt_ptr); |
| 26 | extern void time_init(void); |
| 27 | |
Christoph Hellwig | 7f5c1ea | 2018-04-16 17:27:40 +0200 | [diff] [blame] | 28 | extern void coherent_mem_init(u32 start, u32 size); |
| 29 | |
Mark Salter | de0eed2 | 2012-11-28 14:16:05 -0500 | [diff] [blame] | 30 | #endif /* !__ASSEMBLY__ */ |
| 31 | #endif /* _ASM_C6X_SETUP_H */ |