📄 options.h
字号:
//**********************************************************************
//
// Filename: options.h
//
// Description: Includes various build options.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Use of this source code is subject to the terms of the Cirrus end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to
// use this source code. For a copy of the EULA, please see the
// EULA.RTF on your install media.
//
// Copyright(c) Cirrus Logic Corporation 2005, All Rights Reserved
//
//**********************************************************************
#ifndef _H_OPTIONS
#define _H_OPTIONS
//****************************************************************************
// Ethernet Boot loader
//****************************************************************************
//
// By default, eboot obtain IP through DHCP.
// Define this macro to make eboot using static IP.
//
//#define EBOOT_STATIC_IP
#ifdef EBOOT_STATIC_IP
#define EBOOT_CS8950_IP_ADDRESS "198.90.193.180"
#define EBOOT_CS8950_SUBNET_MASK "255.255.255.0"
#define EBOOT_CS8950_TFTP_PORT 0x0900
#endif
#define DEBUG_UART_SPEED 38400
#define DEBUG_UART_PORT 1
//
// Eboot platform string and MAC address.
//
#if (EP93XX_PLATFORM_TYPE== EDB9307)
#define PROCESSOR_NAME_STRING L"EP9307"
#define EBOOT_PLATFORM_STRING "EDB9307"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x5678}
#elif (EP93XX_PLATFORM_TYPE== EDB9312)
#define PROCESSOR_NAME_STRING L"EP9312"
#define EBOOT_PLATFORM_STRING "EDB9312"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x5678}
#elif (EP93XX_PLATFORM_TYPE== EDB9315)
#define PROCESSOR_NAME_STRING L"EP9315"
#define EBOOT_PLATFORM_STRING "EDB9315"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x5678}
#elif ( EP93XX_PLATFORM_TYPE == EDB9301 )
#define PROCESSOR_NAME_STRING L"EP9301"
#define EBOOT_PLATFORM_STRING "EDB9301"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x3412}
#elif (EP93XX_PLATFORM_TYPE== EDB9302)
#define PROCESSOR_NAME_STRING L"EP9302"
#define EBOOT_PLATFORM_STRING "EDB9302"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x3412}
#elif EP93XX_PLATFORM_TYPE == EDB9315A
#define PROCESSOR_NAME_STRING L"EP9315"
#define EBOOT_PLATFORM_STRING "EDB9315A"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x1342}
#elif EP93XX_PLATFORM_TYPE==EDB9307A
#define PROCESSOR_NAME_STRING L"EP9307"
#define EBOOT_PLATFORM_STRING "EDB9307A"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x1336}
#elif EP93XX_PLATFORM_TYPE == EDB9302A
#define PROCESSOR_NAME_STRING L"EP9302"
#define EBOOT_PLATFORM_STRING "EDB9302A"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x1020, 0x6642}
#elif EP93XX_PLATFORM_TYPE == EDB9301A
#define PROCESSOR_NAME_STRING L"EP9301"
#define EBOOT_PLATFORM_STRING "EDB9301A"
#define EBOOT_CS8950_MAC_ADDRESS {0x2400, 0x2040, 0x3242}
#endif
//
//
//
// Eboot major and minor version.
//
#ifndef EBOOT_VERSION_MAJOR
#define EBOOT_VERSION_MAJOR 1
#endif // EBOOT_VERSION_MAJOR
#ifndef EBOOT_VERSION_MINOR
#define EBOOT_VERSION_MINOR 0
#endif // EBOOT_VERSION_MINOR
#endif // _H_OPTIONS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -