setup.h 944 B

12345678910111213141516171819202122232425262728293031323334
  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. #define COMMAND_LINE_SIZE 1024
  14. #ifndef __ASSEMBLY__
  15. extern char c6x_command_line[COMMAND_LINE_SIZE];
  16. extern int c6x_add_memory(phys_addr_t start, unsigned long size);
  17. extern unsigned long ram_start;
  18. extern unsigned long ram_end;
  19. extern int c6x_num_cores;
  20. extern unsigned int c6x_silicon_rev;
  21. extern unsigned int c6x_devstat;
  22. extern unsigned char c6x_fuse_mac[6];
  23. extern void machine_init(unsigned long dt_ptr);
  24. extern void time_init(void);
  25. #endif /* !__ASSEMBLY__ */
  26. #endif /* _ASM_C6X_SETUP_H */