sys_proto.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * sys_proto.h
  3. *
  4. * System information header
  5. *
  6. * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
  16. * GNU General Public License for more details.
  17. */
  18. #ifndef _SYS_PROTO_H_
  19. #define _SYS_PROTO_H_
  20. #define BOARD_REV_ID 0x0
  21. u32 get_cpu_rev(void);
  22. u32 get_sysboot_value(void);
  23. #ifdef CONFIG_DISPLAY_CPUINFO
  24. int print_cpuinfo(void);
  25. #endif
  26. extern struct ctrl_stat *cstat;
  27. u32 get_device_type(void);
  28. void setup_clocks_for_console(void);
  29. void ddr_pll_config(unsigned int ddrpll_M);
  30. void sdelay(unsigned long);
  31. void gpmc_init(void);
  32. void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
  33. u32 size);
  34. void omap_nand_switch_ecc(int);
  35. #endif