This type is not used outside the smbios.c file so there is no need for it
to be in the header file. Move it.
Signed-off-by: Simon Glass
---
include/smbios.h | 10 --
lib/smbios.c | 10 ++
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/include/smbios.h b/in
At present a few of the structs use u8 instead of char. This is a string,
so char is better. Update them.
Signed-off-by: Simon Glass
---
include/smbios.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/smbios.h b/include/smbios.h
index fc69188a8fe..1cbeabf9522 10
At present we pass the ofnode to each function. We also pass the 'eos'
pointer for adding new strings. We don't track the current end of the
string table, so have smbios_string_table_len() to find that.
The code can be made more efficient if it keeps information in a
context struct. This also make
Add a new member to the context struct which tracks the end of the string
table. This allows us to avoid recalculating this at the end.
Signed-off-by: Simon Glass
---
lib/smbios.c | 32 +++-
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/lib/smbios.c
We can store this in the context and avoid passing it to each function.
This makes it easier to follow and will also allow keeping track of the
end of the string table (in future patches).
Add an 'eos' field to the context and create a function to set it up.
Signed-off-by: Simon Glass
---
lib/
At present the version string is obtained from PLAIN_VERSION. Some boards
may want to configure this using the device tree, since the build system
can more easily insert things there after U-Boot itself is built. Add this
option to the code.
Also in some cases the version needs to be generated pro
While static configuration is useful it cannot cover every case. Sometimes
board revisions are encoded in resistor straps and must be read at
runtime.
The easiest way to provide this information is via sysinfo, since the
board can then provide a driver to read whatever is needed.
Add some standar
On 07/01/21 12:50 am, Nishanth Menon wrote:
> Hi,
>
> ARMv8's generic timer[1] picks up it's graycode from GTC. However,
> the frequency of the GTC is supposed to be programmed in CNTFID0[2]
> register prior to enabling the GTC in CNTCR[3] register. U-boot for K3
> is currently missing that pro
This series includes a number of minor fixes and improvements identified
while trying out Chrome OS verified boot on it.
These were not apparent without this real-world testing, but all are
deficiencies in one way or another.
Simon Glass (10):
dtoc: binman: Drop Python 2 code
patman: Correct
Drop a few more Python 2 relics that are no-longer needed.
Signed-off-by: Simon Glass
---
tools/binman/fmap_util.py | 4 ++--
tools/dtoc/fdt.py | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/binman/fmap_util.py b/tools/binman/fmap_util.py
index b03fc28fbb4
At present on large files, lz4 uses a larger block size (e.g. 256KB) than
the 64KB supported by the U-Boot decompression implementation. Also it is
optimised for maximum compression speed, producing larger output than we
would like.
Update the parameters to correct these problems.
Signed-off-by:
Update the log output to show the size, since this is useful information.
Signed-off-by: Simon Glass
---
tools/binman/control.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/binman/control.py b/tools/binman/control.py
index 072417f3644..1952b2abf48 100644
--- a/to
Two of the items have been completed and I thought of another one. Update
the list.
Signed-off-by: Simon Glass
---
tools/binman/README | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/binman/README b/tools/binman/README
index de1eedfc3f7..a00c9026163 100644
--- a/tool
Two files have the wrong comment at the top of them. Fix this.
Signed-off-by: Simon Glass
---
tools/binman/etype/u_boot_spl_bss_pad.py | 1 -
tools/binman/etype/u_boot_spl_nodtb.py | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/binman/etype/u_boot_spl_bss_pad.py
At present binman only supports resolving symbols in the same section as
the binary that uses it. This is quite limited because we often need to
group entries into different sections.
Enhance the algorithm to search the entire image for symbols.
Signed-off-by: Simon Glass
---
tools/binman/elf.
Normally when an entry is created, any entry arguments it has are required
to be provided, so it can actually generate its contents correctly.
However when an existing image is read, Entry objects are created for each
of the entries in the image. This happens as part of the process of
reading the
At present if a devicetree blob is included in a vblock it does not deal
with updates. This is because the vblock is created once at the start and
does not have a method to update itself later, after all the entry
contents are finalised.
Fix this by adjusting how the vblock is created.
Also simpl
The offset of an entry needs to be adjusted by its skip-at-start value.
This is currently missing when reading entry data. Fix it.
Signed-off-by: Simon Glass
---
tools/binman/etype/section.py | 10 ++
tools/binman/ftest.py | 19 +++
tools/
When packing files it is sometimes useful to align the start of each file,
e.g. if the flash driver can only access 32-bit-aligned data. Provides a
new property to support this.
Signed-off-by: Simon Glass
---
tools/binman/etype/files.py | 4
tools/binman/ftest.py
Hi Tom,
Please find the PR for next branch targeted for v2021.04 release.
Details about the PR are updated in the tag message.
Gitlab build report:
https://gitlab.denx.de/u-boot/custodians/u-boot-ti/-/pipelines/5778
The following changes since commit c15f44acf9d473f4682bfdc63b8aebd313492
101 - 120 of 120 matches
Mail list logo