Skip to content
Snippets Groups Projects
Commit b17e11c4 authored by Jens Wiklander's avatar Jens Wiklander
Browse files

hikey: generic driver


Build support for generic driver on HiKey.

Reviewed-by: default avatarPascal Brand <pascal.brand@linaro.org>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent fc2f012e
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ SHAPERF_PATH ?=$(ROOT)/sha-perf ...@@ -61,7 +61,7 @@ SHAPERF_PATH ?=$(ROOT)/sha-perf
################################################################################ ################################################################################
all: prepare arm-tf boot-img lloader nvme all: prepare arm-tf boot-img lloader nvme
clean: arm-tf-clean busybox-clean edk2-clean linux-clean optee-os-clean optee-client-clean optee-linuxdriver-clean xtest-clean strace-clean update_rootfs-clean boot-img-clean lloader-clean aes-perf-clean sha-perf-clean grub-clean clean: arm-tf-clean busybox-clean edk2-clean linux-clean optee-os-clean optee-client-clean xtest-clean strace-clean update_rootfs-clean boot-img-clean lloader-clean aes-perf-clean sha-perf-clean grub-clean
cleaner: clean prepare-cleaner busybox-cleaner linux-cleaner strace-cleaner nvme-cleaner grub-cleaner cleaner: clean prepare-cleaner busybox-cleaner linux-cleaner strace-cleaner nvme-cleaner grub-cleaner
...@@ -199,13 +199,6 @@ optee-client: optee-client-common ...@@ -199,13 +199,6 @@ optee-client: optee-client-common
.PHONY: optee-client-clean .PHONY: optee-client-clean
optee-client-clean: optee-client-clean-common optee-client-clean: optee-client-clean-common
OPTEE_LINUXDRIVER_COMMON_FLAGS += ARCH=arm64
optee-linuxdriver: optee-linuxdriver-common
OPTEE_LINUXDRIVER_CLEAN_COMMON_FLAGS += ARCH=arm64
.PHONY: optee-linuxdriver-clean
optee-linuxdriver-clean: optee-linuxdriver-clean-common
################################################################################ ################################################################################
# xtest / optee_test # xtest / optee_test
################################################################################ ################################################################################
...@@ -281,7 +274,7 @@ filelist-all: busybox ...@@ -281,7 +274,7 @@ filelist-all: busybox
find $(OPTEE_TEST_OUT_PATH) -name "*.ta" | \ find $(OPTEE_TEST_OUT_PATH) -name "*.ta" | \
sed 's/\(.*\)\/\(.*\)/file \/lib\/optee_armtz\/\2 \1\/\2 444 0 0/g' >> $(GEN_ROOTFS_PATH)/filelist-all.txt sed 's/\(.*\)\/\(.*\)/file \/lib\/optee_armtz\/\2 \1\/\2 444 0 0/g' >> $(GEN_ROOTFS_PATH)/filelist-all.txt
update_rootfs: optee-client optee-linuxdriver xtest aes-perf sha-perf strace filelist-all linux-gen_init_cpio update_rootfs: optee-client xtest aes-perf sha-perf strace filelist-all linux-gen_init_cpio
cd $(GEN_ROOTFS_PATH); \ cd $(GEN_ROOTFS_PATH); \
$(LINUX_PATH)/usr/gen_init_cpio $(GEN_ROOTFS_PATH)/filelist-all.txt | gzip > $(GEN_ROOTFS_PATH)/filesystem.cpio.gz $(LINUX_PATH)/usr/gen_init_cpio $(GEN_ROOTFS_PATH)/filelist-all.txt | gzip > $(GEN_ROOTFS_PATH)/filesystem.cpio.gz
......
CONFIG_DRM=y CONFIG_TEE=y
CONFIG_OPTEE=y
CONFIG_PINCTRL_SINGLE=y CONFIG_PINCTRL_SINGLE=y
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment