提交 558605cf 编写于 作者: M Mike Frysinger 提交者: Wolfgang Denk

load_addr: move to common env code

Rather than keep the load_addr definition with the bootm code (which
just happens to use this), move it to the common env code.  This way
we can disable bootm support completely while retaining load_addr
usage with many other commands.
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 52f0aa83
......@@ -156,7 +156,6 @@ static boot_os_fn *boot_os[] = {
#endif
};
ulong load_addr = CONFIG_SYS_LOAD_ADDR; /* Default Load Address */
static bootm_headers_t images; /* pointers to os/initrd/fdt images */
/* Allow for arch specific config before we boot */
......
......@@ -76,6 +76,8 @@ SPI_FLASH|MG_DISK|NVRAM|MMC|NOWHERE}
*/
#define MAX_ENV_SIZE (1 << 20) /* 1 MiB */
ulong load_addr = CONFIG_SYS_LOAD_ADDR; /* Default Load Address */
/*
* Table with supported baudrates (defined in config_xyz.h)
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册