firmware: Fix code for accessing hart_count and stack_size
authorXiang W <wxjstz@126.com>
Tue, 15 Mar 2022 16:22:39 +0000 (00:22 +0800)
committerAnup Patel <anup@brainfault.org>
Sun, 27 Mar 2022 03:23:27 +0000 (08:53 +0530)
commitb6b7220a47e19b422fb470cffb4675f0a70e94f3
tree4a29f73c85c71dcc28080aac53af70a920ba0955
parent2dfbd3c0e226c21b978e0a5a1c58893ee6679d15
firmware: Fix code for accessing hart_count and stack_size

lwu exists under the current rv64 and should also exist under the rv128
in the future, so I modified the conditions of conditional compilation
so that it can adapt to the future situation

Signed-off-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
firmware/fw_base.S