mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
image: Drop IMAGE_BOOT_GET_CMDLINE
This is not needed with Kconfig, since we can use IS_ENABLED() easily enough and the board code is now in a separate file. Update the only place where this is used and drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
@@ -898,7 +898,7 @@ int image_setup_linux(bootm_headers_t *images)
|
|||||||
if (CONFIG_IS_ENABLED(OF_LIBFDT))
|
if (CONFIG_IS_ENABLED(OF_LIBFDT))
|
||||||
boot_fdt_add_mem_rsv_regions(lmb, *of_flat_tree);
|
boot_fdt_add_mem_rsv_regions(lmb, *of_flat_tree);
|
||||||
|
|
||||||
if (IMAGE_BOOT_GET_CMDLINE) {
|
if (IS_ENABLED(CONFIG_SYS_BOOT_GET_CMDLINE)) {
|
||||||
ret = boot_get_cmdline(lmb, &images->cmdline_start,
|
ret = boot_get_cmdline(lmb, &images->cmdline_start,
|
||||||
&images->cmdline_end);
|
&images->cmdline_end);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
@@ -49,12 +49,6 @@ struct fdt_region;
|
|||||||
#include <fdt_support.h>
|
#include <fdt_support.h>
|
||||||
#endif /* FIT */
|
#endif /* FIT */
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_BOOT_GET_CMDLINE
|
|
||||||
# define IMAGE_BOOT_GET_CMDLINE 1
|
|
||||||
#else
|
|
||||||
# define IMAGE_BOOT_GET_CMDLINE 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_OF_BOARD_SETUP
|
#ifdef CONFIG_OF_BOARD_SETUP
|
||||||
# define IMAGE_OF_BOARD_SETUP 1
|
# define IMAGE_OF_BOARD_SETUP 1
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user