Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3128639948 | ||
|
|
d7c138eb04 | ||
|
|
cc8ba0ea6a |
4
Makefile
4
Makefile
@@ -1145,7 +1145,7 @@ all: .binman_stamp
|
|||||||
ifeq ($(CONFIG_DEPRECATED),y)
|
ifeq ($(CONFIG_DEPRECATED),y)
|
||||||
$(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.")
|
$(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.")
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_OF_EMBED)$(CONFIG_EFI_APP),y)
|
ifeq ($(CONFIG_OF_EMBED),y)
|
||||||
@echo >&2 "===================== WARNING ======================"
|
@echo >&2 "===================== WARNING ======================"
|
||||||
@echo >&2 "CONFIG_OF_EMBED is enabled. This option should only"
|
@echo >&2 "CONFIG_OF_EMBED is enabled. This option should only"
|
||||||
@echo >&2 "be used for debugging purposes. Please use"
|
@echo >&2 "be used for debugging purposes. Please use"
|
||||||
@@ -1678,7 +1678,7 @@ endif # CONFIG_X86
|
|||||||
|
|
||||||
OBJCOPYFLAGS_u-boot-app.efi := $(OBJCOPYFLAGS_EFI)
|
OBJCOPYFLAGS_u-boot-app.efi := $(OBJCOPYFLAGS_EFI)
|
||||||
u-boot-app.efi: u-boot dts/dt.dtb FORCE
|
u-boot-app.efi: u-boot dts/dt.dtb FORCE
|
||||||
$(call if_changed,embeddtb)
|
$(if $(CONFIG_OF_SEPARATE),$(call if_changed,embeddtb))
|
||||||
$(call if_changed,zobjcopy)
|
$(call if_changed,zobjcopy)
|
||||||
|
|
||||||
u-boot.bin.o: u-boot.bin FORCE
|
u-boot.bin.o: u-boot.bin FORCE
|
||||||
|
|||||||
@@ -87,5 +87,10 @@ SECTIONS
|
|||||||
*(.eh_frame)
|
*(.eh_frame)
|
||||||
*(.note.GNU-stack)
|
*(.note.GNU-stack)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.embedded_dtb : {
|
||||||
|
*(.embedded_dtb)
|
||||||
|
}
|
||||||
|
|
||||||
.comment 0 : { *(.comment) }
|
.comment 0 : { *(.comment) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ CONFIG_CMD_FS_GENERIC=y
|
|||||||
CONFIG_MAC_PARTITION=y
|
CONFIG_MAC_PARTITION=y
|
||||||
CONFIG_ISO_PARTITION=y
|
CONFIG_ISO_PARTITION=y
|
||||||
CONFIG_EFI_PARTITION=y
|
CONFIG_EFI_PARTITION=y
|
||||||
CONFIG_OF_EMBED=y
|
|
||||||
CONFIG_ENV_OVERWRITE=y
|
CONFIG_ENV_OVERWRITE=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_USE_BOOTFILE=y
|
CONFIG_USE_BOOTFILE=y
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ CONFIG_CMD_FS_GENERIC=y
|
|||||||
CONFIG_MAC_PARTITION=y
|
CONFIG_MAC_PARTITION=y
|
||||||
CONFIG_ISO_PARTITION=y
|
CONFIG_ISO_PARTITION=y
|
||||||
CONFIG_EFI_PARTITION=y
|
CONFIG_EFI_PARTITION=y
|
||||||
CONFIG_OF_EMBED=y
|
|
||||||
CONFIG_ENV_OVERWRITE=y
|
CONFIG_ENV_OVERWRITE=y
|
||||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||||
CONFIG_USE_BOOTFILE=y
|
CONFIG_USE_BOOTFILE=y
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ extern char __image_copy_start[], __image_copy_end[];
|
|||||||
extern char __bss_end[];
|
extern char __bss_end[];
|
||||||
extern char __rel_dyn_start[], __rel_dyn_end[];
|
extern char __rel_dyn_start[], __rel_dyn_end[];
|
||||||
extern char _image_binary_end[];
|
extern char _image_binary_end[];
|
||||||
extern char _dtb[];
|
extern char __dtb[];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is the U-Boot entry point - prior to relocation it should be same
|
* This is the U-Boot entry point - prior to relocation it should be same
|
||||||
|
|||||||
@@ -1236,7 +1236,7 @@ static void *fdt_find_separate(void)
|
|||||||
fdt_blob = (ulong *)_image_binary_end;
|
fdt_blob = (ulong *)_image_binary_end;
|
||||||
else
|
else
|
||||||
fdt_blob = (ulong *)__bss_end;
|
fdt_blob = (ulong *)__bss_end;
|
||||||
#elif defined CONFIG_EFI_APP
|
#elif defined CONFIG_EFI_APP && defined CONFIG_OF_SEPARATE
|
||||||
/* FDT is in a separate section */
|
/* FDT is in a separate section */
|
||||||
fdt_blob = (ulong *)__dtb;
|
fdt_blob = (ulong *)__dtb;
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user