diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-09-21 10:47:13 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-09-21 11:02:19 +0200 |
commit | 58eb58a9af97dde4923f2f19100f393c892a9a0a (patch) | |
tree | 11f43bd80fd375c14b1e090987f29ec96cd47a5f /lib | |
parent | ec76c020b9b22f0d7a28ae7a40fe74e867fed26c (diff) | |
download | barebox-58eb58a9af97dde4923f2f19100f393c892a9a0a.tar.gz barebox-58eb58a9af97dde4923f2f19100f393c892a9a0a.tar.xz |
arm: rk3568 boards: call setup_c() before accessing global pointers
Global pointers may only be accessed after setup_c() has been called.
In pine-quartz64 and the Radxa Rock3 board the device tree pointer has
been initialized earlier. As a result the pointer points to the address
the device tree would be placed when the binary would run from 0x0. For
some reason it nevertheless seemed to work though.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions