]> git.baikalelectronics.ru Git - uboot.git/commit
microblaze: Fix stack protection behavior
authorMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:59 +0000 (14:14 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 24 Jun 2022 12:14:59 +0000 (14:14 +0200)
commit0524b6e8398370d2c1c88f29e26aec3b7b3e3143
treece3ac78babf135e224e6fc6e64cf2c37a011c51a
parenteb15a061cf035b8dc42908c52ab0b832f8fad07d
microblaze: Fix stack protection behavior

When U-Boot starts stack protection can be already enabled that's why setup
the lowest possible SLR value which is address 0. And the highest possible
stack in front of U-Boot. That's why you should never load U-Boot to the
beginning of DDR. There must be some space reserved. Code is using this
location for early malloc space, early global data and stack.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/86b9748bad12142659804d6381bc6bbf20be44f1.1655299267.git.michal.simek@amd.com
arch/microblaze/cpu/start.S