Revert "Merge patch series "vbe: Series part E""
This reverts commit 1fdf53ace13f745fe8ad4d2d4e79eed98088d555, reversing
changes made to e5aef1bbf11412eebd4c242b46adff5301353c30.
I had missed that this caused too much size growth on rcar3_salvator-x.
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/common/spl/spl_legacy.c b/common/spl/spl_legacy.c
index b3efb3e..9252b3a 100644
--- a/common/spl/spl_legacy.c
+++ b/common/spl/spl_legacy.c
@@ -16,11 +16,11 @@
#define LZMA_LEN (1 << 20)
-static void spl_parse_legacy_validate(ulong start, ulong size)
+static void spl_parse_legacy_validate(uintptr_t start, uintptr_t size)
{
- ulong spl_start = (ulong)_start;
- ulong spl_end = (ulong)&_image_binary_end;
- ulong end = start + size;
+ uintptr_t spl_start = (uintptr_t)_start;
+ uintptr_t spl_end = (uintptr_t)&_image_binary_end;
+ uintptr_t end = start + size;
if ((start >= spl_start && start < spl_end) ||
(end > spl_start && end <= spl_end) ||