summaryrefslogtreecommitdiff
path: root/include/configs/coreboot.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2011-09-14 04:22:07 -0700
committerGabe Black <gabeblack@chromium.org>2011-09-14 18:42:37 -0700
commit9e975fc6129b5b1a60942454d2a74bf87152d87b (patch)
tree65242de38ffce6f196734fed46eea31d68d3a3de /include/configs/coreboot.h
parent983d96c497155185b38cdfefae10465aa0577796 (diff)
Turn off unnecessary commands and clean up some cruft in coreboot.h
This change trims down the set of commands built into u-boot with coreboot and gets rid of some settings which aren't necessary. The list of commands explicitly includes all of the defaults to make it more obvious what's turned on and off. BUG=None TEST=Built on alex and Newton. Vbooted on Stumpy. Change-Id: Id8541b87922d39f53dca800c9af915d807921f25 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: http://gerrit.chromium.org/gerrit/7701 Reviewed-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
Diffstat (limited to 'include/configs/coreboot.h')
-rw-r--r--include/configs/coreboot.h38
1 files changed, 8 insertions, 30 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h
index eb4c60e016..8792212aae 100644
--- a/include/configs/coreboot.h
+++ b/include/configs/coreboot.h
@@ -36,7 +36,6 @@
*/
#define CONFIG_SYS_COREBOOT
#undef CONFIG_SHOW_BOOT_PROGRESS
-#define CONFIG_LAST_STAGE_INIT
/*-----------------------------------------------------------------------
* Memory layout
@@ -48,7 +47,6 @@
#define CROSSYSTEM_DATA_MAXSIZE 0x8000
#define GBB_ADDRESS \
(CROSSYSTEM_DATA_ADDRESS + CROSSYSTEM_DATA_MAXSIZE)
-#define CONFIG_VBGLOBAL_BASE 0x00FB0000
#define CONFIG_SYS_TEXT_BASE 0x00FC0000
#define CONFIG_SCSI_AHCI
@@ -67,14 +65,6 @@
CONFIG_SYS_SCSI_MAX_LUN)
#endif
-/*-----------------------------------------------------------------------
- * Watchdog Configuration
- * NOTE: If CONFIG_HW_WATCHDOG is NOT defined, the watchdog jumper on the
- * bottom (processor) board MUST be removed!
- */
-#undef CONFIG_WATCHDOG
-#define CONFIG_HW_WATCHDOG
-
/* Generic TPM interfaced through LPC bus */
#define CONFIG_GENERIC_LPC_TPM
@@ -118,18 +108,12 @@
#define CONFIG_GENERIC_MMC
#define CONFIG_SUPPORT_VFAT
-/************************************************************
- * ATAPI support (experimental)
- ************************************************************/
-#define CONFIG_ATAPI
/************************************************************
* DISK Partition support
************************************************************/
#define CONFIG_EFI_PARTITION
#define CONFIG_DOS_PARTITION
-#define CONFIG_MAC_PARTITION
-#define CONFIG_ISO_PARTITION /* Experimental */
/*-----------------------------------------------------------------------
@@ -159,19 +143,20 @@
*/
#include <config_cmd_default.h>
-#define CONFIG_CMD_BDI
+#undef CONFIG_CMD_BDI
#define CONFIG_CMD_BOOTD
#define CONFIG_CMD_CONSOLE
#define CONFIG_CMD_DATE
#define CONFIG_CMD_ECHO
-#undef CONFIG_CMD_FLASH
-#define CONFIG_CMD_FPGA
+#define CONFIG_CMD_EDITENV
+#undef CONFIG_CMD_FPGA
#define CONFIG_CMD_IMI
+#undef CONFIG_CMD_FLASH
#undef CONFIG_CMD_IMLS
#define CONFIG_CMD_IRQ
#define CONFIG_CMD_ITEST
-#define CONFIG_CMD_LOADB
-#define CONFIG_CMD_LOADS
+#undef CONFIG_CMD_LOADB
+#undef CONFIG_CMD_LOADS
#define CONFIG_CMD_MEMORY
#define CONFIG_CMD_MISC
#define CONFIG_CMD_NET
@@ -180,10 +165,10 @@
#define CONFIG_CMD_PING
#define CONFIG_CMD_RUN
#define CONFIG_CMD_SAVEENV
-#define CONFIG_CMD_SETGETDCR
+#undef CONFIG_CMD_SETGETDCR
#define CONFIG_CMD_SOURCE
#define CONFIG_CMD_SPI
-#define CONFIG_CMD_XIMG
+#undef CONFIG_CMD_XIMG
#define CONFIG_CMD_SCSI
#define CONFIG_CMD_CBFS
#define CONFIG_CMD_FAT
@@ -221,7 +206,6 @@
"run bootcmd\0" \
""
-
#if defined(CONFIG_CMD_KGDB)
#define CONFIG_KGDB_BAUDRATE 115200
#define CONFIG_KGDB_SER_INDEX 2
@@ -253,12 +237,6 @@
*/
#define CONFIG_NR_DRAM_BANKS 4
-/* CONFIG_SYS_SDRAM_DRCTMCTL Overrides the following*/
-#undef CONFIG_SYS_SDRAM_PRECHARGE_DELAY
-#undef CONFIG_SYS_SDRAM_RAS_CAS_DELAY
-#undef CONFIG_SYS_SDRAM_CAS_LATENCY_2T
-#undef CONFIG_SYS_SDRAM_CAS_LATENCY_3T
-
/*-----------------------------------------------------------------------
* CPU Features
*/