blob: b313ec6af801c8a48c662e8709d9c382dc1a8961 [file] [log] [blame]
Caesar Wangb4003742016-10-12 08:10:12 +08001/*
2 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3 *
dp-armfa3cf0b2017-05-03 09:38:09 +01004 * SPDX-License-Identifier: BSD-3-Clause
Caesar Wangb4003742016-10-12 08:10:12 +08005 */
6
Xing Zheng93280b72016-10-26 21:25:26 +08007#ifndef __M0_CTL_H__
8#define __M0_CTL_H__
9
10#include <m0_param.h>
11
12#define M0_BINCODE_BASE ((uintptr_t)rk3399m0_bin)
13#define M0_PARAM_ADDR (M0_BINCODE_BASE + PARAM_ADDR)
Caesar Wangb4003742016-10-12 08:10:12 +080014
15/* pmu_fw.c */
16extern char rk3399m0_bin[];
17extern char rk3399m0_bin_end[];
18
Xing Zheng93280b72016-10-26 21:25:26 +080019extern void m0_init(void);
20extern void m0_start(void);
21extern void m0_stop(void);
22extern void m0_wait_done(void);
Xing Zheng93280b72016-10-26 21:25:26 +080023#endif /* __M0_CTL_H__ */