summaryrefslogtreecommitdiffstats
path: root/common/cmd_bootstage.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-02 17:04:37 -0700
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:37 -0600
commitee2b24340fd1d63a27ac4ed6ac828ade1469dbe7 (patch)
tree1126a86f04af92194c867b268ea5ca1e29d7aa46 /common/cmd_bootstage.c
parent5c4f9c1d722d7c11e304469bf5e54197bf95f0ce (diff)
downloadtalos-obmc-uboot-ee2b24340fd1d63a27ac4ed6ac828ade1469dbe7.tar.gz
talos-obmc-uboot-ee2b24340fd1d63a27ac4ed6ac828ade1469dbe7.zip
Kconfig: Move CONFIG_BOOTSTAGE to Kconfig
Move CONFIG_BOOT_STAGE and its associated options to Kconfig. Adjust existing users and code. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_bootstage.c')
-rw-r--r--common/cmd_bootstage.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/cmd_bootstage.c b/common/cmd_bootstage.c
index 106894aa51..788ab16436 100644
--- a/common/cmd_bootstage.c
+++ b/common/cmd_bootstage.c
@@ -6,11 +6,6 @@
#include <common.h>
-#ifndef CONFIG_BOOTSTAGE_STASH
-#define CONFIG_BOOTSTAGE_STASH -1UL
-#define CONFIG_BOOTSTAGE_STASH_SIZE -1
-#endif
-
static int do_bootstage_report(cmd_tbl_t *cmdtp, int flag, int argc,
char * const argv[])
{
@@ -24,7 +19,7 @@ static int get_base_size(int argc, char * const argv[], ulong *basep,
{
char *endp;
- *basep = CONFIG_BOOTSTAGE_STASH;
+ *basep = CONFIG_BOOTSTAGE_STASH_ADDR;
*sizep = CONFIG_BOOTSTAGE_STASH_SIZE;
if (argc < 2)
return 0;
OpenPOWER on IntegriCloud