]> git.dujemihanovic.xyz Git - u-boot.git/commit
bdinfo: Show the RAM top and approximate stack pointer
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:38:46 +0000 (21:38 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:12:03 +0000 (17:12 +0800)
commitb279f5170a807a87a5726bcbeb0bc98937102eee
tree7cced0108fed34ef7cc7f7b85ef44b2c393f5b04
parent297184143ab788b7e591604475760c1794532c99
bdinfo: Show the RAM top and approximate stack pointer

These are useful pieces of information when debugging. The RAM top shows
where U-Boot started allocating memory from, before it relocated. The
stack pointer can be checked to ensure it is in the correct region.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Nikhil M Jain <n-jain1@ti.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Nikhil M Jain <n-jain1@ti.com>
cmd/Kconfig
cmd/bdinfo.c
test/cmd/bdinfo.c