mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
Merge tag 'efi-2020-07-rc6-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2020-07-rc6 (2) Fix an incorrect update of the GD register in efi_get_variable_common(). Fix an incorrect check for an FDT reg property. Fix a device tree used for Python testing.
This commit is contained in:
@@ -200,7 +200,7 @@ static void efi_carve_out_dt_rsv(void *fdt)
|
||||
* The /reserved-memory node may have children with
|
||||
* a size instead of a reg property.
|
||||
*/
|
||||
if (addr != FDT_ADDR_T_NONE &&
|
||||
if (fdt_addr != FDT_ADDR_T_NONE &&
|
||||
fdtdec_get_is_enabled(fdt, subnode))
|
||||
efi_reserve_memory(fdt_addr, fdt_size);
|
||||
subnode = fdt_next_subnode(fdt, subnode);
|
||||
|
@@ -606,7 +606,7 @@ static efi_status_t efi_get_variable_common(u16 *variable_name,
|
||||
u32 attr;
|
||||
|
||||
if (!variable_name || !vendor || !data_size)
|
||||
return EFI_EXIT(EFI_INVALID_PARAMETER);
|
||||
return EFI_INVALID_PARAMETER;
|
||||
|
||||
ret = efi_to_native(&native_name, variable_name, vendor);
|
||||
if (ret)
|
||||
|
@@ -106,14 +106,14 @@ FDT_DATA = '''
|
||||
|
||||
/ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#size-cells = <1>;
|
||||
|
||||
model = "%(sys-arch)s %(fdt_type)s EFI FIT Boot Test";
|
||||
compatible = "%(sys-arch)s";
|
||||
|
||||
reset@0 {
|
||||
compatible = "%(sys-arch)s,reset";
|
||||
reg = <0>;
|
||||
reg = <0 4>;
|
||||
};
|
||||
};
|
||||
'''
|
||||
|
Reference in New Issue
Block a user