global_data.h 500 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2002
  4. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  5. *
  6. * Copyright (c) 2017 Microsemi Corporation.
  7. * Padmarao Begari, Microsemi Corporation <padmarao.begari@microsemi.com>
  8. */
  9. #ifndef __ASM_GBL_DATA_H
  10. #define __ASM_GBL_DATA_H
  11. /* Architecture-specific global data */
  12. struct arch_global_data {
  13. };
  14. #include <asm-generic/global_data.h>
  15. #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("gp")
  16. #endif /* __ASM_GBL_DATA_H */