prior_stage.h 514 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2018 Cisco Systems, Inc.
  4. *
  5. * Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
  6. */
  7. #ifndef _BCMSTB_PRIOR_STAGE_H
  8. #define _BCMSTB_PRIOR_STAGE_H
  9. #ifndef __ASSEMBLY__
  10. #include <linux/types.h>
  11. struct bcmstb_boot_parameters {
  12. u32 r0;
  13. u32 r1;
  14. u32 r2;
  15. u32 r3;
  16. u32 sp;
  17. u32 lr;
  18. };
  19. extern struct bcmstb_boot_parameters bcmstb_boot_parameters;
  20. extern phys_addr_t prior_stage_fdt_address;
  21. #endif /* __ASSEMBLY__ */
  22. #endif /* _BCMSTB_PRIOR_STAGE_H */