spl: is unavailable in overlay (ovlloader specifically)

This commit is contained in:
KazushiM
2022-10-29 03:11:52 +08:00
parent 4eed01f458
commit 524247955f
7 changed files with 21 additions and 20 deletions

View File

@@ -80,8 +80,10 @@ void Clocks::Initialize()
// Check if it's Mariko
u64 hardware_type = 0;
splInitialize();
splGetConfig(SplConfigItem_HardwareType, &hardware_type);
rc = splInitialize();
ASSERT_RESULT_OK(rc, "splInitialize");
rc = splGetConfig(SplConfigItem_HardwareType, &hardware_type);
ASSERT_RESULT_OK(rc, "splGetConfig");
splExit();
switch (hardware_type) {