global_data.h 543 B

1234567891011121314151617181920212223242526
  1. /*
  2. * U-Boot - global_data.h Declarations for global data of U-Boot
  3. *
  4. * Copyright (c) 2005-2007 Analog Devices Inc.
  5. *
  6. * (C) Copyright 2000-2010
  7. * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  8. *
  9. * SPDX-License-Identifier: GPL-2.0+
  10. */
  11. #ifndef __ASM_GBL_DATA_H
  12. #define __ASM_GBL_DATA_H
  13. #include <asm/u-boot.h>
  14. /* Architecture-specific global data */
  15. struct arch_global_data {
  16. unsigned long board_type;
  17. };
  18. #include <asm-generic/global_data.h>
  19. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("P3")
  20. #endif