blob: 5496bccecaa0e3c23bcfaa0b919efeab1a6752c1 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
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)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 */
8#ifndef _ASM_C6X_SETUP_H
9#define _ASM_C6X_SETUP_H
10
11#include <uapi/asm/setup.h>
12#include <linux/types.h>
13
14#ifndef __ASSEMBLY__
15extern int c6x_add_memory(phys_addr_t start, unsigned long size);
16
17extern unsigned long ram_start;
18extern unsigned long ram_end;
19
20extern int c6x_num_cores;
21extern unsigned int c6x_silicon_rev;
22extern unsigned int c6x_devstat;
23extern unsigned char c6x_fuse_mac[6];
24
25extern void machine_init(unsigned long dt_ptr);
26extern void time_init(void);
27
28extern void coherent_mem_init(u32 start, u32 size);
29
30#endif /* !__ASSEMBLY__ */
31#endif /* _ASM_C6X_SETUP_H */