Pull request efi-2024-04-rc5

Documentation:
 
 * fix Python string escapes
 * develop: commands: Fix function prototype
 * fix incorrect path Documentation
 * fix mistyped "env flags" command
 * board: phytec: phycore-am62x: Update artifact names
 
 UEFI:
 
 * Invoke ft_board_setup() before efi_carve_out_dt_rsv()
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEK7wKXt3/btL6/yA+hO4vgnE3U0sFAmXyQU0ACgkQhO4vgnE3
 U0v5Ww/+LFusLohjO6aIE65NsMvEFUMXIZe2Ll6jBOXV+T8/foDnsRsFaeVx1GL5
 lJOjnlHSED3/Q3JIhL8KWn35CovykhLxsWkqdmvssXPuZH1k9Q2OZnyBnYcYJMJA
 kguEvpF6ynf70JGPK8w/GgNzqf2qzKe6SYTdgWKQeYO3mhcQT7pGvFXWK0qDVG47
 HKGY+g2vXD0GQxzeeIiVr1ZAQUu+FmXeiPDEIQ4tKki7HEoFvuj5rCldZEIelzHF
 LXGZ9nlHAOHK+7USkL+3vMs7VOvxndXi77maW8i0Dcn8bFcBP3/pJcduoNBZHHBS
 vnILeKux63FuhIxnHOGBP3OoxbW8RsZhn5C6+K/IMpKWzFw6Y577ZSp+dNKp9Gpc
 3P3HFTzXVQX6j7MqvsnMNCOHvGJ3ZFUJFsXx2r6bfKX8VcxMCbFbJg/fNu102f4y
 WCwWtgNmW4EuOHUupEfSnOLSZhRT1gliom5wcvTdt0ML9Z7mP9bYz+LkT+/P2WMA
 oEeppMo0+MSlbhoXX11UT8/hJD4n/tB85yrmUkuq2K3u+YRw0hy+3WpOT/62u9CC
 320HEX6XKrD8mvNM1XpWtylVo8KQNws0FBfWIrCwpDE52sKfHqlIVu95g3ZqyEOl
 bHFLQocagoCO8Pzdllm9N1rfTAGL84h2w2C4kmQTCUrzYvAkl6s=
 =QKo8
 -----END PGP SIGNATURE-----

Merge tag 'efi-2024-04-rc5' of https://source.denx.de/u-boot/custodians/u-boot-efi

Pull request efi-2024-04-rc5

Documentation:

* fix Python string escapes
* develop: commands: Fix function prototype
* fix incorrect path Documentation
* fix mistyped "env flags" command
* board: phytec: phycore-am62x: Update artifact names

UEFI:

* Invoke ft_board_setup() before efi_carve_out_dt_rsv()
This commit is contained in:
Tom Rini 2024-03-13 20:39:46 -04:00
commit 86fd291a79
8 changed files with 22 additions and 19 deletions

View file

@ -92,9 +92,9 @@ Assuming the uSD card is `/dev/mmcblk0`:
To boot from a micro SD card on a HSFS device simply copy the following To boot from a micro SD card on a HSFS device simply copy the following
artifacts to the FAT partition: artifacts to the FAT partition:
* tiboot3.bin from R5 build as tiboot3.bin * tiboot3.bin from R5 build
* tispl.bin_unsigned from Cortex-A build as tispl.bin * tispl.bin from Cortex-A build
* u-boot.img_unsigned from Cortex-A build as u-boot.img * u-boot.img from Cortex-A build
Boot Boot
---- ----

View file

@ -88,7 +88,7 @@ The command function pointer has to be of type
.. code-block:: c .. code-block:: c
int (*cmd)(struct cmd_tbl *cmdtp, int flag, int argc, const char *argv[]); int (*cmd)(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
cmdtp cmdtp
Table entry describing the command (see above). Table entry describing the command (see above).

View file

@ -93,7 +93,7 @@ def markup_ctype_refs(match):
# #
RE_expr = re.compile(r':c:(expr|texpr):`([^\`]+)`') RE_expr = re.compile(r':c:(expr|texpr):`([^\`]+)`')
def markup_c_expr(match): def markup_c_expr(match):
return '\ ``' + match.group(2) + '``\ ' return '\\ ``' + match.group(2) + '``\\ '
# #
# Parse Sphinx 3.x C markups, replacing them by backward-compatible ones # Parse Sphinx 3.x C markups, replacing them by backward-compatible ones

View file

@ -147,7 +147,7 @@ class KernelCmd(Directive):
code_block += "\n " + l code_block += "\n " + l
lines = code_block + "\n\n" lines = code_block + "\n\n"
line_regex = re.compile("^#define LINENO (\S+)\#([0-9]+)$") line_regex = re.compile(r"^#define LINENO (\S+)\#([0-9]+)$")
ln = 0 ln = 0
n = 0 n = 0
f = fname f = fname

View file

@ -130,7 +130,7 @@ class KernelDocDirective(Directive):
result = ViewList() result = ViewList()
lineoffset = 0; lineoffset = 0;
line_regex = re.compile("^#define LINENO ([0-9]+)$") line_regex = re.compile(r"^#define LINENO ([0-9]+)$")
for line in lines: for line in lines:
match = line_regex.search(line) match = line_regex.search(line)
if match: if match:

View file

@ -78,8 +78,8 @@ class MaintainersInclude(Include):
# Drop needless input whitespace. # Drop needless input whitespace.
line = line.rstrip() line = line.rstrip()
# Linkify all non-wildcard refs to ReST files in Documentation/. # Linkify all non-wildcard refs to ReST files in doc/.
pat = '(Documentation/([^\s\?\*]*)\.rst)' pat = r'(doc/([^\s\?\*]*)\.rst)'
m = re.search(pat, line) m = re.search(pat, line)
if m: if m:
# maintainers.rst is in a subdirectory, so include "../". # maintainers.rst is in a subdirectory, so include "../".
@ -92,11 +92,11 @@ class MaintainersInclude(Include):
output = "| %s" % (line.replace("\\", "\\\\")) output = "| %s" % (line.replace("\\", "\\\\"))
# Look for and record field letter to field name mappings: # Look for and record field letter to field name mappings:
# R: Designated *reviewer*: FullName <address@domain> # R: Designated *reviewer*: FullName <address@domain>
m = re.search("\s(\S):\s", line) m = re.search(r"\s(\S):\s", line)
if m: if m:
field_letter = m.group(1) field_letter = m.group(1)
if field_letter and not field_letter in fields: if field_letter and not field_letter in fields:
m = re.search("\*([^\*]+)\*", line) m = re.search(r"\*([^\*]+)\*", line)
if m: if m:
fields[field_letter] = m.group(1) fields[field_letter] = m.group(1)
elif subsystems: elif subsystems:
@ -114,7 +114,7 @@ class MaintainersInclude(Include):
field_content = "" field_content = ""
# Collapse whitespace in subsystem name. # Collapse whitespace in subsystem name.
heading = re.sub("\s+", " ", line) heading = re.sub(r"\s+", " ", line)
output = output + "%s\n%s" % (heading, "~" * len(heading)) output = output + "%s\n%s" % (heading, "~" * len(heading))
field_prev = "" field_prev = ""
else: else:
@ -177,11 +177,11 @@ class MaintainersInclude(Include):
if not self.state.document.settings.file_insertion_enabled: if not self.state.document.settings.file_insertion_enabled:
raise self.warning('"%s" directive disabled.' % self.name) raise self.warning('"%s" directive disabled.' % self.name)
# Walk up source path directories to find Documentation/../ # Walk up source path directories to find doc/../
path = self.state_machine.document.attributes['source'] path = self.state_machine.document.attributes['source']
path = os.path.realpath(path) path = os.path.realpath(path)
tail = path tail = path
while tail != "Documentation" and tail != "": while tail != "doc" and tail != "":
(path, tail) = os.path.split(path) (path, tail) = os.path.split(path)
# Append "MAINTAINERS" # Append "MAINTAINERS"

View file

@ -350,7 +350,7 @@ edit
exists exists
CONFIG_CMD_ENV_EXISTS CONFIG_CMD_ENV_EXISTS
flsgs flags
CONFIG_CMD_ENV_FLAGS CONFIG_CMD_ENV_FLAGS
erase erase

View file

@ -456,11 +456,11 @@ efi_status_t efi_install_fdt(void *fdt)
return EFI_LOAD_ERROR; return EFI_LOAD_ERROR;
} }
if (CONFIG_IS_ENABLED(GENERATE_ACPI_TABLE)) {
/* Create memory reservations as indicated by the device tree */ /* Create memory reservations as indicated by the device tree */
efi_carve_out_dt_rsv(fdt); efi_carve_out_dt_rsv(fdt);
if (CONFIG_IS_ENABLED(GENERATE_ACPI_TABLE))
return EFI_SUCCESS; return EFI_SUCCESS;
}
/* Prepare device tree for payload */ /* Prepare device tree for payload */
ret = copy_fdt(&fdt); ret = copy_fdt(&fdt);
@ -474,6 +474,9 @@ efi_status_t efi_install_fdt(void *fdt)
return EFI_LOAD_ERROR; return EFI_LOAD_ERROR;
} }
/* Create memory reservations as indicated by the device tree */
efi_carve_out_dt_rsv(fdt);
efi_try_purge_kaslr_seed(fdt); efi_try_purge_kaslr_seed(fdt);
if (CONFIG_IS_ENABLED(EFI_TCG2_PROTOCOL_MEASURE_DTB)) { if (CONFIG_IS_ENABLED(EFI_TCG2_PROTOCOL_MEASURE_DTB)) {