hocclk: DRAMID from MRR
This commit is contained in:
1 parent
e16735d16d
commit
21a21df4ba
11 files changed
+1576
-5
No files matched your search
@@ -50,6 +50,7 @@
|
||||
#include <ipc_server.h>
|
||||
#include <lockable_mutex.h>
|
||||
#include "../mapping/mem_map.hpp"
|
||||
#include "../soc/dram_mrr.hpp"
|
||||
namespace board {
|
||||
|
||||
u64 clkVirtAddr, dsiVirtAddr, apbVirtAddr, fuseVirtAddr, sysVirtAddr, actmonVirtAddr, gpuVirtAddr, tmrVirtAddr;
|
||||
@@ -286,6 +287,10 @@ namespace board {
|
||||
}
|
||||
|
||||
u8 GetDramID() {
|
||||
return soc::mrr::IdentifyDramId();
|
||||
}
|
||||
|
||||
u8 GetFuseDramId() {
|
||||
return gDramID;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace board {
|
||||
void Exit();
|
||||
HocClkSocType GetSocType();
|
||||
HocClkConsoleType GetConsoleType();
|
||||
u8 GetFuseDramId();
|
||||
u8 GetDramID();
|
||||
u8 GetGpuSpeedoBracket();
|
||||
bool IsDram8GB();
|
||||
|
||||
Reference in new issue
Block a user