Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMBIOS support for HiKey #20

Open
wants to merge 10 commits into
base: hikey-aosp
Choose a base branch
from
6 changes: 5 additions & 1 deletion Chips/Hisilicon/Hi6220/Include/Hi6220.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,15 @@
#define RST0_USBOTG BIT6
#define RST0_USBOTG_32K BIT7

#define EYE_PATTERN_PARA 0x7053348c
#define PMCTRL_DDRCLKDIVCFG 0xF70325A8

#define EYE_PATTERN_PARA 0x7053348C

#define MDDRC_AXI_BASE 0xF7120000
#define AXI_REGION_MAP_OFFSET(x) ( 0x100 + ( x ) * 0x10 )

#define MDDRC_DMC_BASE 0xF7128000

#define AO_CTRL_BASE 0xF7800000
#define SC_PW_MTCMOS_EN0 0x830
#define SC_PW_MTCMOS_DIS0 0x834
Expand Down
12 changes: 12 additions & 0 deletions Platforms/Hisilicon/HiKey/HiKey.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,12 @@
gArmTokenSpaceGuid.PcdSystemMemoryBase|0x00000000
gArmTokenSpaceGuid.PcdSystemMemorySize|0x3E000000

#
# SMBIOS version
#
gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0300
gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0

# HiKey Dual-Cluster profile
gArmPlatformTokenSpaceGuid.PcdCoreCount|8
gArmPlatformTokenSpaceGuid.PcdClusterCount|2
Expand Down Expand Up @@ -413,6 +419,12 @@

MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf

#
# SMBIOS/DMI
#
MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
OpenPlatformPkg/Platforms/Hisilicon/HiKey/SmbiosPlatformDxe/SmbiosPlatformDxe.inf

#
# GPIO
#
Expand Down
6 changes: 6 additions & 0 deletions Platforms/Hisilicon/HiKey/HiKey.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ READ_LOCK_STATUS = TRUE

INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf

#
# SMBIOS/DMI
#
INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
INF OpenPlatformPkg/Platforms/Hisilicon/HiKey/SmbiosPlatformDxe/SmbiosPlatformDxe.inf

#
# GPIO
#
Expand Down
Loading