mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-22 01:48:52 +09:00
![Michal Simek](/assets/img/avatar_default.png)
There is no reason to use private code for standard bootm command.
Current implementation is also broken and don't support image relocation
properly. Switching to generic bootm implementation is fixing these issues.
cmdline and bdt bootm subcommands are returning -1 because they are not
implemented.
Similar change was done long time ago by for example commit 2bb5b63879
("MIPS: bootm: rework and fix broken bootm code")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
18 lines
275 B
C
18 lines
275 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2009 Freescale Semiconductor, Inc.
|
|
*/
|
|
|
|
#ifndef _ASM_CONFIG_H_
|
|
#define _ASM_CONFIG_H_
|
|
|
|
#define CONFIG_LMB
|
|
|
|
#ifndef CONFIG_SPL_BUILD
|
|
#define CONFIG_NEEDS_MANUAL_RELOC
|
|
#endif
|
|
|
|
#define CONFIG_SYS_BOOT_RAMDISK_HIGH
|
|
|
|
#endif
|