Fork of the vendor (Boundary Devices) u-boot for Reform 2, with minor tweaks. The goal is to migrate to mainstream u-boot or barebox ASAP. The main impediment so far is the 4GB RAM config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

26 lines
534 B

  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
  4. */
  5. #ifndef __ASM_ARC_GLOBAL_DATA_H
  6. #define __ASM_ARC_GLOBAL_DATA_H
  7. #include <config.h>
  8. #ifndef __ASSEMBLY__
  9. /* Architecture-specific global data */
  10. struct arch_global_data {
  11. int l1_line_sz;
  12. #if defined(CONFIG_ISA_ARCV2)
  13. int slc_line_sz;
  14. #endif
  15. };
  16. #endif /* __ASSEMBLY__ */
  17. #include <asm-generic/global_data.h>
  18. #define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r25")
  19. #endif /* __ASM_ARC_GLOBAL_DATA_H */