-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86: dfi: Add option to select different config headers for baseboards
This patch adds the infrastructure to define different config headers with different configurations and default environment for the baseboards that can now be selected via Kconfig. The new configuration for the theadorable-x86-dfi-bt700 is also added. Signed-off-by: Stefan Roese <[email protected]> Cc: Simon Glass <[email protected]> Cc: Bin Meng <[email protected]> Reviewed-by: Bin Meng <[email protected]>
- Loading branch information
Showing
6 changed files
with
71 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ M: Stefan Roese <[email protected]> | |
S: Maintained | ||
F: board/dfi/dfi-bt700 | ||
F: include/configs/dfi-bt700.h | ||
F: include/configs/theadorable-x86-dfi-bt700.h | ||
F: configs/dfi-bt700-q7x-151_defconfig | ||
F: configs/theadorable-x86-dfi-bt700_defconfig | ||
F: arch/x86/dts/dfi-bt700.dtsi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright (C) 2016 Stefan Roese <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0+ | ||
*/ | ||
|
||
/* | ||
* board/config.h - configuration options, board specific | ||
*/ | ||
|
||
#ifndef __CONFIG_H | ||
#define __CONFIG_H | ||
|
||
#include <configs/x86-common.h> | ||
|
||
#define CONFIG_SYS_MONITOR_LEN (1 << 20) | ||
|
||
#define CONFIG_PREBOOT | ||
|
||
/* Use BayTrail internal HS UART which is memory-mapped */ | ||
#undef CONFIG_SYS_NS16550_PORT_MAPPED | ||
|
||
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \ | ||
"stdout=serial\0" \ | ||
"stderr=serial\0" | ||
|
||
#define CONFIG_USB_HOST_ETHER | ||
#define CONFIG_USB_ETHER_ASIX | ||
#define CONFIG_USB_ETHER_SMSC95XX | ||
#define CONFIG_USB_ETHER_MCS7830 | ||
#define CONFIG_USB_ETHER_RTL8152 | ||
|
||
#define VIDEO_IO_OFFSET 0 | ||
#define CONFIG_X86EMU_RAW_IO | ||
#define CONFIG_CMD_BMP | ||
#define CONFIG_BMP_16BPP | ||
|
||
/* Environment settings */ | ||
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT | ||
#undef CONFIG_ENV_SIZE | ||
#define CONFIG_ENV_SIZE 0x2000 | ||
#define CONFIG_ENV_SECT_SIZE 0x1000 | ||
#define CONFIG_ENV_OFFSET 0x006ec000 | ||
#define CONFIG_ENV_OFFSET_REDUND \ | ||
(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) | ||
|
||
#endif /* __CONFIG_H */ |