efi_loader: Use EFI_CACHELINE_SIZE in the image loader too
authorAlexander Graf <agraf@suse.de>
Mon, 23 Apr 2018 05:59:47 +0000 (07:59 +0200)
committerAndes <uboot@andestech.com>
Tue, 29 May 2018 06:43:12 +0000 (14:43 +0800)
commit89aea436425c1b947dd812b478e9dbe29eff3e2b
tree37bf378785a73b52d49736acda074910faf18940
parentb66babda459e3862230f147048a4c65419e81e07
efi_loader: Use EFI_CACHELINE_SIZE in the image loader too

We were using our EFI_CACHELINE_SIZE define only in the runtime service
code, but left the image loader to use plain CONFIG_SYS_CACHELINE_SIZE.

This patch moves EFI_CACHELINE_SIZE into efi_loader.h and converts
the image loader to use it.

Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h
lib/efi_loader/efi_image_loader.c
lib/efi_loader/efi_runtime.c