scu.h 360 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2019, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef SCU_H
  7. #define SCU_H
  8. #include <stdint.h>
  9. #define SCU_CTRL_REG 0x00
  10. #define SCU_CFG_REG 0x04
  11. #define SCU_ENABLE_BIT (1 << 0)
  12. void enable_snoop_ctrl_unit(uintptr_t base);
  13. uint32_t read_snoop_ctrl_unit_cfg(uintptr_t base);
  14. #endif /* SCU_H */