79 lines
1.6 KiB
Makefile
79 lines
1.6 KiB
Makefile
# Copyright (C) 2013-2015 Apple Inc. All rights reserved.
|
|
#
|
|
# This document is the property of Apple Inc.
|
|
# It is considered confidential and proprietary.
|
|
#
|
|
# This document may not be reproduced or transmitted in any form,
|
|
# in whole or in part, without the express written permission of
|
|
# Apple Inc.
|
|
#
|
|
# b238 iProd6,1 iboot bootloader build config
|
|
PLATFORM := t7000
|
|
SUB_PLATFORM ?= t7000
|
|
ARCH := arm64
|
|
BOOT_CONFIG := nand
|
|
HW_TIMER := architected
|
|
AMC_REG_VERSION ?= 4
|
|
AMC_FILE_VERSION ?= 2
|
|
|
|
TARGET := b238
|
|
|
|
# code modules
|
|
MODULES_BASIC += \
|
|
platform/$(PLATFORM) \
|
|
platform/$(PLATFORM)/amc \
|
|
platform/$(PLATFORM)/chipid \
|
|
platform/$(PLATFORM)/miu \
|
|
platform/$(PLATFORM)/pmgr \
|
|
platform/$(PLATFORM)/error_handler \
|
|
drivers/apple/a7iop \
|
|
drivers/apple/aes \
|
|
drivers/apple/aic \
|
|
drivers/apple/amc \
|
|
drivers/apple/amp_v3 \
|
|
drivers/apple/ausb \
|
|
drivers/apple/ccc \
|
|
drivers/apple/voltage_knobs \
|
|
drivers/samsung/dwi \
|
|
drivers/apple/gpio \
|
|
drivers/apple/iic \
|
|
drivers/apple/sep \
|
|
drivers/dialog/pmu \
|
|
drivers/samsung/uart \
|
|
drivers/synopsys/usbotg
|
|
|
|
ifneq ($(BUILD),RELEASE)
|
|
MODULES_BASIC += \
|
|
drivers/apple/consistent_debug
|
|
endif
|
|
|
|
ifeq ($(BOOT_CONFIG), nand)
|
|
MODULES_FILESYSTEM += \
|
|
drivers/apple/asp \
|
|
drivers/apple/csi \
|
|
|
|
MODULES_FIRMWARE += \
|
|
drivers/apple/anc
|
|
endif
|
|
|
|
ifeq ($(BOOT_CONFIG), nor)
|
|
|
|
MODULES_BASIC += \
|
|
drivers/samsung/spi
|
|
|
|
MODULES_FILESYSTEM += \
|
|
drivers/flash_nor/spi
|
|
endif
|
|
|
|
LIBRARY_MODULES += \
|
|
lib/libcorecrypto
|
|
|
|
MODULES_BOOT += \
|
|
platform/$(PLATFORM)/apcie
|
|
|
|
# Override default platform memory map
|
|
TZ0_SIZE := 12*1024*1024
|
|
|
|
include $(APPDIR)/products.mk
|
|
|