···11+/*22+ * Port on Texas Instruments TMS320C6x architecture33+ *44+ * Copyright (C) 2004, 2009, 2010 2011 Texas Instruments Incorporated55+ * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)66+ *77+ * This program is free software; you can redistribute it and/or modify88+ * it under the terms of the GNU General Public License version 2 as99+ * published by the Free Software Foundation.1010+ */1111+#ifndef _ASM_C6X_SETUP_H1212+#define _ASM_C6X_SETUP_H1313+1414+#include <uapi/asm/setup.h>1515+1616+#ifndef __ASSEMBLY__1717+extern char c6x_command_line[COMMAND_LINE_SIZE];1818+1919+extern int c6x_add_memory(phys_addr_t start, unsigned long size);2020+2121+extern unsigned long ram_start;2222+extern unsigned long ram_end;2323+2424+extern int c6x_num_cores;2525+extern unsigned int c6x_silicon_rev;2626+extern unsigned int c6x_devstat;2727+extern unsigned char c6x_fuse_mac[6];2828+2929+extern void machine_init(unsigned long dt_ptr);3030+extern void time_init(void);3131+3232+#endif /* !__ASSEMBLY__ */3333+#endif /* _ASM_C6X_SETUP_H */
+3-30
arch/c6x/include/uapi/asm/setup.h
···11-/*22- * Port on Texas Instruments TMS320C6x architecture33- *44- * Copyright (C) 2004, 2009, 2010 2011 Texas Instruments Incorporated55- * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com)66- *77- * This program is free software; you can redistribute it and/or modify88- * it under the terms of the GNU General Public License version 2 as99- * published by the Free Software Foundation.1010- */1111-#ifndef _ASM_C6X_SETUP_H1212-#define _ASM_C6X_SETUP_H11+#ifndef _UAPI_ASM_C6X_SETUP_H22+#define _UAPI_ASM_C6X_SETUP_H133144#define COMMAND_LINE_SIZE 10241551616-#ifndef __ASSEMBLY__1717-extern char c6x_command_line[COMMAND_LINE_SIZE];1818-1919-extern int c6x_add_memory(phys_addr_t start, unsigned long size);2020-2121-extern unsigned long ram_start;2222-extern unsigned long ram_end;2323-2424-extern int c6x_num_cores;2525-extern unsigned int c6x_silicon_rev;2626-extern unsigned int c6x_devstat;2727-extern unsigned char c6x_fuse_mac[6];2828-2929-extern void machine_init(unsigned long dt_ptr);3030-extern void time_init(void);3131-3232-#endif /* !__ASSEMBLY__ */3333-#endif /* _ASM_C6X_SETUP_H */66+#endif /* _UAPI_ASM_C6X_SETUP_H */