global_data.h 412 B

123456789101112131415161718
  1. /*
  2. * Copyright (C) 2004-2006 Atmel Corporation
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __ASM_GLOBAL_DATA_H__
  7. #define __ASM_GLOBAL_DATA_H__
  8. /* Architecture-specific global data */
  9. struct arch_global_data {
  10. unsigned long cpu_hz; /* cpu core clock frequency */
  11. };
  12. #include <asm-generic/global_data.h>
  13. #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
  14. #endif /* __ASM_GLOBAL_DATA_H__ */