blob: 350f34debb19537bbecc8985489d931da54c3389 [file] [log] [blame]
Mark Salterde0eed22012-11-28 14:16:05 -05001/*
2 * Port on Texas Instruments TMS320C6x architecture
3 *
4 * Copyright (C) 2004, 2009, 2010 2011 Texas Instruments Incorporated
5 * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 */
11#ifndef _ASM_C6X_SETUP_H
12#define _ASM_C6X_SETUP_H
13
14#include <uapi/asm/setup.h>
Chen Gang9bd54f62015-03-04 06:06:26 +080015#include <linux/types.h>
Mark Salterde0eed22012-11-28 14:16:05 -050016
17#ifndef __ASSEMBLY__
Mark Salterde0eed22012-11-28 14:16:05 -050018extern int c6x_add_memory(phys_addr_t start, unsigned long size);
19
20extern unsigned long ram_start;
21extern unsigned long ram_end;
22
23extern int c6x_num_cores;
24extern unsigned int c6x_silicon_rev;
25extern unsigned int c6x_devstat;
26extern unsigned char c6x_fuse_mac[6];
27
28extern void machine_init(unsigned long dt_ptr);
29extern void time_init(void);
30
Christoph Hellwig7f5c1ea2018-04-16 17:27:40 +020031extern void coherent_mem_init(u32 start, u32 size);
32
Mark Salterde0eed22012-11-28 14:16:05 -050033#endif /* !__ASSEMBLY__ */
34#endif /* _ASM_C6X_SETUP_H */