summaryrefslogtreecommitdiffstats
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-07-22 16:44:32 -0600
committerTom Warren <twarren@nvidia.com>2015-07-27 15:54:28 -0700
commit502a2aff7637d6522f50839b4d9ac253fcb1ea6e (patch)
treef5d3131ae12cc2c46d1af9fcd027757a6d103bb1 /lib/fdtdec.c
parentf49357baadb6ff30b5c8a43019e3c655d75b036b (diff)
downloadtalos-obmc-uboot-502a2aff7637d6522f50839b4d9ac253fcb1ea6e.tar.gz
talos-obmc-uboot-502a2aff7637d6522f50839b4d9ac253fcb1ea6e.zip
arm64: Handle arbitrary CONFIG_SYS_MALLOC_F_LEN values
The encoding of the sub instruction used to handle CONFIG_SYS_MALLOC_F_LEN can only accept certain values, and the set of acceptable values differs between the AArch32 and AArch64 instructions sets. The default value of CONFIG_SYS_MALLOC_F_LEN works with either ISA. Tegra uses a non-default value that can only be encoded in the AArch32 ISA. Fix the AArch64 crt0 assembly so it can handle completely arbitrary values. Signed-off-by: Thierry Reding <treding@nvidia.com> [twarren: trimmed Thierry's patch to remove changes already present] Signed-off-by: Tom Warren <twarren@nvidia.com> [swarren, cleaned up patch, wrote description, re-wrote subject] Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/fdtdec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud