diff options
author | Yidi Lin <yidilin@chromium.org> | 2024-11-26 23:03:48 +0800 |
---|---|---|
committer | Yidi Lin <yidilin@chromium.org> | 2024-11-28 13:41:40 +0000 |
commit | 7f36241461510b0f083b04485564ffa544f973a4 (patch) | |
tree | 2b7be4b4fd0c61a1fe31de23b525094fe3702bf2 /payloads/libpayload/curses/menu/headers | |
parent | f8e4cdd05815ce4f00fb353731314e29207b0af8 (diff) |
soc/mediatek: Eliminate redundant calls to get_pmif_controller()
It is unnecessary to look up PMIF controller by mstid in multiple
functions. Just pass `arb` to these functions in order to avoid
redundant calls to get_pmif_controller().
BUG=none
TEST=compiled
Change-Id: I907d6ff029827e4afe4f1d05e39c8dd662c7c45e
Signed-off-by: Yidi Lin <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85327
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/libpayload/curses/menu/headers')
0 files changed, 0 insertions, 0 deletions