Re: [edk2] [PATCH edk2-platforms v4 2/6] Platform/HiKey960: do basic initialization

2018-05-23 Thread Haojian Zhuang
>> +STATIC >> +VOID >> +OnEndOfDxe ( >> + IN EFI_EVENT Event, >> + IN VOID *Context >> + ) >> +{ >> + UINT32BootMode; >> + >> + BootMode = MmioRead32 (SCTRL_BAK_DATA0) & BOOT_MODE_MASK; >> + if (BootMode == BOOT_MODE_RECOVERY) { >> +SerialPortWrite ((UINT8 *)"WARNING: CAN N

Re: [edk2] [PATCH edk2-platforms v4 2/6] Platform/HiKey960: do basic initialization

2018-05-21 Thread Leif Lindholm
This is a significant improvement over previous versions, but there are still a few things I would like addressed. On Mon, May 14, 2018 at 12:34:29PM +0800, Haojian Zhuang wrote: > Do some basic initliazation on peripherals, such as pins and > regulators. > > Cc: Leif Lindholm > Cc: Ard Biesheuv

[edk2] [PATCH edk2-platforms v4 2/6] Platform/HiKey960: do basic initialization

2018-05-13 Thread Haojian Zhuang
Do some basic initliazation on peripherals, such as pins and regulators. Cc: Leif Lindholm Cc: Ard Biesheuvel Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Haojian Zhuang --- Platform/Hisilicon/HiKey960/HiKey960.dsc | 2 + Platform/Hisilicon/HiKey960/HiKey9