setup.h 914 B

123456789101112131415161718192021222324252627282930313233
  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. #include <uapi/asm/setup.h>
  14. #include <linux/types.h>
  15. #ifndef __ASSEMBLY__
  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 */