Aurelien Jacquiot | a7f626c | 2011-10-04 11:14:47 -0400 | [diff] [blame] | 1 | /* |
| 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 | #define COMMAND_LINE_SIZE 1024 |
| 15 | |
| 16 | #ifndef __ASSEMBLY__ |
| 17 | extern char c6x_command_line[COMMAND_LINE_SIZE]; |
| 18 | |
| 19 | extern int c6x_add_memory(phys_addr_t start, unsigned long size); |
| 20 | |
| 21 | extern unsigned long ram_start; |
| 22 | extern unsigned long ram_end; |
| 23 | |
| 24 | extern int c6x_num_cores; |
| 25 | extern unsigned int c6x_silicon_rev; |
| 26 | extern unsigned int c6x_devstat; |
| 27 | extern unsigned char c6x_fuse_mac[6]; |
| 28 | |
| 29 | extern void machine_init(unsigned long dt_ptr); |
David Howells | 6a846f3 | 2012-03-28 18:30:02 +0100 | [diff] [blame] | 30 | extern void time_init(void); |
Aurelien Jacquiot | a7f626c | 2011-10-04 11:14:47 -0400 | [diff] [blame] | 31 | |
| 32 | #endif /* !__ASSEMBLY__ */ |
| 33 | #endif /* _ASM_C6X_SETUP_H */ |