/arch/arm/mach-omap2/include/mach/id.h

https://github.com/AICP/kernel_asus_grouper · C Header · 22 lines · 10 code · 3 blank · 9 comment · 0 complexity · 487d3c3f96faad82b9f004a18becdf4a MD5 · raw file

  1. /*
  2. * OMAP2 CPU identification code
  3. *
  4. * Copyright (C) 2010 Kan-Ru Chen <kanru@0xlab.org>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #ifndef OMAP2_ARCH_ID_H
  11. #define OMAP2_ARCH_ID_H
  12. struct omap_die_id {
  13. u32 id_0;
  14. u32 id_1;
  15. u32 id_2;
  16. u32 id_3;
  17. };
  18. void omap_get_die_id(struct omap_die_id *odi);
  19. #endif