1/* 2 * Copyright (C) 2014 Freescale Semiconductor 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7#ifndef __FSL_DBG_SERVER_H__ 8#define __FSL_DBG_SERVER_H__ 9 10#include <asm/io.h> 11#include <common.h> 12 13/* 14 * Define Debug Server firmware version information 15 */ 16 17/* Major version number: incremented on API compatibility changes */ 18#define DEBUG_SERVER_VER_MAJOR 0 19 20/* Minor version number: incremented on API additions (backward 21 * compatible); reset when major version is incremented. 22 */ 23#define DEBUG_SERVER_VER_MINOR 1 24 25#define DEBUG_SERVER_INIT_STATUS (1 << 0) 26#define DEBUG_SERVER_INIT_STATUS_MASK (0x00000001) 27 28int debug_server_init(void); 29unsigned long debug_server_get_dram_block_size(void); 30 31#endif /* __FSL_DBG_SERVER_H__ */ 32 33