mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
config_cmd_defaults.h: new header for common u-boot command defaults
We have config_defaults.h which are random configuration settings that everyone gets by default. We also have config_cmd_default.h which is a recommended list of defaults but boards have to opt into. Now we have config_cmd_defaults.h which is a list of defaults that everyone gets and has to actively opt out of. For now, we populate it with the bootm command which previously was unable to be disabled. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
b934718872
commit
52f0aa835f
@ -41,7 +41,7 @@ COBJS-y += xyzModem.o
|
||||
|
||||
# core command
|
||||
COBJS-y += cmd_boot.o
|
||||
COBJS-y += cmd_bootm.o
|
||||
COBJS-$(CONFIG_CMD_BOOTM) += cmd_bootm.o
|
||||
COBJS-y += cmd_help.o
|
||||
COBJS-y += cmd_nvedit.o
|
||||
COBJS-y += cmd_version.o
|
||||
|
14
include/config_cmd_defaults.h
Normal file
14
include/config_cmd_defaults.h
Normal file
@ -0,0 +1,14 @@
|
||||
/*
|
||||
* config_cmd_defaults.h - sane defaults for everyone
|
||||
*
|
||||
* Copyright (c) 2010 Analog Devices Inc.
|
||||
*
|
||||
* Licensed under the GPL-2 or later.
|
||||
*/
|
||||
|
||||
#ifndef _CONFIG_CMD_DEFAULTS_H_
|
||||
#define _CONFIG_CMD_DEFAULTS_H_
|
||||
|
||||
#define CONFIG_CMD_BOOTM 1
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user