
4 Oct
2019
4 Oct
'19
5:23 a.m.
Hi Simon,
On Wed, Sep 25, 2019 at 10:13 PM Simon Glass sjg@chromium.org wrote:
Allocate memory for the HOBs and copy them before relocation. This ensures that they can still be accessed after relocation.
This is needed when relocating the HOB within U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v2: None
arch/x86/cpu/cpu.c | 6 ++++++ arch/x86/include/asm/fsp/fsp_support.h | 8 ++++++++ arch/x86/include/asm/hob.h | 8 ++++++++ arch/x86/lib/fsp/fsp_support.c | 16 ++++++++++++++++ arch/x86/lib/hob.c | 11 +++++++++++ 5 files changed, 49 insertions(+)
Why is this patch needed?
The HOBs are currently available after relocation already. See cmd/x86/hob.c
Regards, Bin