global_data.h 470 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (c) 2011 The Chromium OS Authors.
  4. *
  5. * (C) Copyright 2002-2010
  6. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  7. */
  8. #ifndef __ASM_GBL_DATA_H
  9. #define __ASM_GBL_DATA_H
  10. /* Architecture-specific global data */
  11. struct arch_global_data {
  12. uint8_t *ram_buf; /* emulated RAM buffer */
  13. };
  14. #include <asm-generic/global_data.h>
  15. #define DECLARE_GLOBAL_DATA_PTR extern gd_t *gd
  16. #endif /* __ASM_GBL_DATA_H */