The size of free memory should be $lmb_base - $ram_base.
Signed-off-by: Shiji Yang
---
Before:
=> meminfo
DRAM: 64 MiB
Region Base Size End Gap
code 83fa5fdf8 83fffdf8
malloc 83e9 110
Allow the system to reset the CPU without calling the reset
controller. This patch also removed the default SYSRESET controller
for MT7628, as it is now optional.
Signed-off-by: Shiji Yang
---
arch/mips/mach-mtmips/Kconfig | 3 ---
arch/mips/mach-mtmips/mt7628/init.c | 8
This property is not documented. And the "mediatek,ipm-spi" SPI
driver doesn't check it.
Signed-off-by: Shiji Yang
---
arch/arm/dts/mt7981-rfb.dts | 2 --
arch/arm/dts/mt7986a-bpi-r3-sd.dts| 1 -
arch/arm/dts/mt7986a-rfb.dts | 1 -
arch/arm
Mediatek MT7620 u-boot does not have PINCONF implementation.
Signed-off-by: Shiji Yang
---
arch/mips/Kconfig | 1 -
arch/mips/mach-mtmips/Kconfig | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a0317011de7
When sect_size is greater than the CONFIG_ENV_SIZE, this wild
pointer will cause CPU halt or system crash.
Fixes: 03fb08d4aef8 ("env: Introduce support for MTD")
Signed-off-by: Shiji Yang
---
env/mtd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/env/mtd.c b
es: 03fb08d4aef8 ("env: Introduce support for MTD")
Signed-off-by: Shiji Yang
---
env/mtd.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/env/mtd.c b/env/mtd.c
index d7ec30e183a..ad263ed4b29 100644
--- a/env/mtd.c
+++ b/env/mtd.c
@@ -131,6 +131,8 @@ static int env_mtd_save(
startup+0x165): undefined reference to `fit_check_sign'
collect2: error: ld returned 1 exit status
Fixes: 9c79c8fe70da ("tools/fit_check_sign: make key optional")
Signed-off-by: Shiji Yang
---
tools/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
From: Shiji Yang
This patchset fixes some compilation errors that I caught in version
v2025.07-rc4 and branch next. If they are acceptable, please apply
them to the master branch. If anyone has a better way to fix these
issues, it's fine to ignore this patchset.
CI test: https://github.
)
Signed-off-by: Shiji Yang
---
include/image.h | 2 +-
lib/rsa/rsa-verify.c | 2 +-
tools/image-host.c | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/image.h b/include/image.h
index c1db8383459..5f4e23a0ae9 100644
--- a/include/image.h
+++ b/include/ima
ences to the most
commonly used format 'var'.
Signed-off-by: Shiji Yang
---
arch/arc/lib/relocate.c | 30 +--
arch/arm/cpu/arm926ejs/mxs/mxs.c | 2 +-
arch/arm/cpu/arm926ejs/mxs/spl_boot.c | 2 +-
arch/arm/mach-stm32mp/bo
ure on MIPS target. Error log:
SPL: Image overlaps SPL
Fixes: 1b8a1be1a1f1 ("spl: spl_legacy: Fix spl_end address")
Signed-off-by: Shiji Yang
---
arch/arc/include/asm/sections.h | 5 +--
arch/arc/lib/relocate.c | 7 +---
arch/arm/include/a
1. Convert all linker symbol declarations to char[] type.
2. Unify the linker symbol reference format.
CI check:
https://github.com/u-boot/u-boot/pull/401
Shiji Yang (2):
treewide: rework linker symbol declarations in sections header
treewide: unify the linker symbol reference format
arch
On Mon, 31 Jul 2023 15:12:27 -0400, Tom Rini wrote:
> On Tue, Aug 01, 2023 at 12:10:52AM +0800, Shiji Yang wrote:
> > On Mon, 31 Jul 2023 16:17:39 +0200, Marek Vasut wrote:
> > >On 7/31/23 13:57, Shiji Yang wrote:
> > >> Only ARM target defines _image_binary_
On Mon, 31 Jul 2023 16:17:39 +0200, Marek Vasut wrote:
>On 7/31/23 13:57, Shiji Yang wrote:
>> Only ARM target defines _image_binary_end symbol as char*, All other
>> targets define it as an ulong type in include/asm-generic/sections.h.
>>
>> This patch fixes the
Signed-off-by: Shiji Yang
---
common/spl/spl_legacy.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_legacy.c b/common/spl/spl_legacy.c
index 095443c63d..0fef890384 100644
--- a/common/spl/spl_legacy.c
+++ b/common/spl/spl_legacy.c
@@ -18,9 +18,13 @@
s
Signed-off-by: Shiji Yang
---
common/spl/spl_legacy.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_legacy.c b/common/spl/spl_legacy.c
index 095443c63d..0fef890384 100644
--- a/common/spl/spl_legacy.c
+++ b/common/spl/spl_legacy.c
@@ -18,9 +18,13 @@
s
16 matches
Mail list logo