Liviu Dudau 4897a898a2 mips: Move initrd_start check after initrd address sanitisation.
PAGE_OFFSET is technically a virtual address so when checking the value of
initrd_start against it we should make sure that it has been sanitised from
the values passed by the bootloader. Without this change, even with a bootloader
that passes correct addresses for an initrd, we are failing to load it on MT7621
boards, for example.

Signed-off-by: Liviu Dudau <liviu@dudau.co.uk>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2023-05-23 11:01:38 +02:00
..
2023-05-23 11:00:02 +02:00
2023-04-08 13:45:37 -07:00
2023-04-28 14:02:54 -07:00
2022-05-04 22:22:59 +02:00
2023-05-05 12:56:55 -07:00
2022-05-04 22:22:59 +02:00
2023-05-01 12:06:20 -07:00
2023-04-28 14:02:54 -07:00
2022-09-12 15:33:24 +02:00
2023-04-27 17:46:52 -07:00
2021-10-18 18:09:54 +02:00
2022-05-04 22:22:59 +02:00
2022-05-04 22:22:59 +02:00
2023-05-23 10:59:07 +02:00