mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-28 04:48:52 +09:00
![Simon Glass](/assets/img/avatar_default.png)
At present each entry has an offset within its parent section. This is useful for figuring out how entries relate to one another. However it is sometimes necessary to locate an entry within an image, regardless of which sections it is nested inside. Add a new 'image-pos' property to provide this information. Also add some documentation for the -u option binman provides, which updates the device tree with final entry information. Since the image position is a better symbol to use for the position of U-Boot as obtained by SPL, update the SPL symbols to use this instead of offset, which might be incorrect if hierarchical sections are used. Signed-off-by: Simon Glass <sjg@chromium.org>
14 lines
382 B
C
14 lines
382 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (c) 2017 Google, Inc
|
|
*
|
|
* Simple program to create some binman symbols. This is used by binman tests.
|
|
*/
|
|
|
|
#define CONFIG_BINMAN
|
|
#include <binman_sym.h>
|
|
|
|
binman_sym_declare(unsigned long, u_boot_spl, offset);
|
|
binman_sym_declare(unsigned long long, u_boot_spl2, offset);
|
|
binman_sym_declare(unsigned long, u_boot_any, image_pos);
|