Skip to content

Commit 405d820

Browse files
lbmengsjg20
authored andcommitted
x86: Add crownbay defconfig and config.h
Signed-off-by: Bin Meng <[email protected]> Acked-by: Simon Glass <[email protected]>
1 parent 58f542d commit 405d820

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

configs/crownbay_defconfig

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_SYS_EXTRA_OPTIONS="SYS_TEXT_BASE=0xfff00000"
2+
CONFIG_X86=y
3+
CONFIG_TARGET_CROWNBAY=y
4+
CONFIG_OF_CONTROL=y
5+
CONFIG_OF_SEPARATE=y
6+
CONFIG_DEFAULT_DEVICE_TREE="crownbay"

include/configs/crownbay.h

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/*
2+
* Copyright (C) 2014, Bin Meng <[email protected]>
3+
*
4+
* SPDX-License-Identifier: GPL-2.0+
5+
*/
6+
7+
/*
8+
* board/config.h - configuration options, board specific
9+
*/
10+
11+
#ifndef __CONFIG_H
12+
#define __CONFIG_H
13+
14+
#include <configs/x86-common.h>
15+
16+
#define CONFIG_SYS_MONITOR_LEN (1 << 20)
17+
#define CONFIG_SYS_X86_START16 0xfffff800
18+
#define CONFIG_BOARD_EARLY_INIT_F
19+
20+
#define CONFIG_X86_RESET_VECTOR
21+
#define CONFIG_NR_DRAM_BANKS 1
22+
23+
#define CONFIG_COREBOOT_SERIAL
24+
#define CONFIG_SMSC_LPC47M
25+
26+
#define CONFIG_PCI_MEM_BUS 0x40000000
27+
#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
28+
#define CONFIG_PCI_MEM_SIZE 0x80000000
29+
30+
#define CONFIG_PCI_PREF_BUS 0xc0000000
31+
#define CONFIG_PCI_PREF_PHYS CONFIG_PCI_PREF_BUS
32+
#define CONFIG_PCI_PREF_SIZE 0x20000000
33+
34+
#define CONFIG_PCI_IO_BUS 0x2000
35+
#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
36+
#define CONFIG_PCI_IO_SIZE 0xe000
37+
38+
#define CONFIG_SYS_EARLY_PCI_INIT
39+
#define CONFIG_PCI_PNP
40+
41+
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
42+
"stdout=serial\0" \
43+
"stderr=serial\0"
44+
45+
#define CONFIG_SCSI_DEV_LIST \
46+
{PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SATA}
47+
48+
/* Video is not supported */
49+
#undef CONFIG_VIDEO
50+
#undef CONFIG_CFB_CONSOLE
51+
52+
#endif /* __CONFIG_H */

0 commit comments

Comments
 (0)