summaryrefslogtreecommitdiff
path: root/include/fsl_debug_server.h
blob: 28d8adbe11693cf36cec1f368477377dfef2bed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * Copyright (C) 2014 Freescale Semiconductor
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __FSL_DBG_SERVER_H__
#define __FSL_DBG_SERVER_H__

#include <asm/io.h>
#include <common.h>

/*
 * Define Debug Server firmware version information
 */

/* Major version number: incremented on API compatibility changes */
#define DEBUG_SERVER_VER_MAJOR	0

/* Minor version number: incremented on API additions (backward
 * compatible); reset when major version is incremented.
 */
#define DEBUG_SERVER_VER_MINOR	1

#define DEBUG_SERVER_INIT_STATUS	(1 << 0)
#define DEBUG_SERVER_INIT_STATUS_MASK	(0x00000001)

int debug_server_init(void);
unsigned long debug_server_get_dram_block_size(void);

#endif /* __FSL_DBG_SERVER_H__ */