diff options
author | Vinod Polimera <quic_vpolimer@quicinc.com> | 2022-08-23 14:25:02 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-09-12 12:22:34 +0000 |
commit | 042ba16ef8a269932e996e13f85b0767c53c8a19 (patch) | |
tree | 5afd0b918fcc52d4fb2332dc399a8edaee8931d2 /src/soc/mediatek | |
parent | 9244358536aaecff29453b1693fdf202091878ef (diff) |
qualcomm/sc7280: remove unnecessary malloc and early return on failure
Instead of just printing the fatal errors, do early return so that
boot up time will be reduced during display init failure. Remove malloc
allocation and make tu a local variable.
Change-Id: I51f7a86d143128d2c426fb8940ff34a66152b426
Signed-off-by: Vinod Polimera <quic_vpolimer@quicinc.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66975
Reviewed-by: Shelley Chen <shchen@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek')
0 files changed, 0 insertions, 0 deletions