iBoot/target/iphone7/rules.mk

58 lines
1.5 KiB
Makefile
Raw Normal View History

2023-07-08 13:03:17 -07:00
# Copyright (C) 2013-2014 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.
#
LOCAL_DIR := $(GET_LOCAL_DIR)
TARGET_DIR := $(LOCAL_DIR)
OPTIONS += \
DIALOG_D2186=1 \
TARGET_CHESTNUT_USE_LOW_RIPPLE_MODE=1 \
TARGET_BOOT_CPU_VOLTAGE=CHIPID_CPU_VOLTAGE_V2 \
TARGET_BOOT_RAM_VOLTAGE=0 \
TARGET_BOOT_SOC_VOLTAGE=CHIPID_SOC_VOLTAGE_VMIN \
TARGET_VID0_CLK_CFG=0x86100000 \
TARGET_PHY_STOP_WAIT_TIME=0x28 \
DISPLAY_IPHONE_TUNABLES=1 \
AMC_NUM_CHANNELS=2 \
AMC_NUM_RANKS=1 \
TARGET_DWI_FREQUENCY=24000000 \
TARGET_DWI_TRANSFER_GAP_US=2.5 \
BUCK_CPU=0 \
BUCK_SOC=2 \
BUCK_GPU=1 \
MULTITOUCH_DTPATH=\"arm-io/spi2/multi-touch\" \
WIFI_DTPATH=\"arm-io/uart4/wlan\" \
BT_DTPATH=\"arm-io/uart1/bluetooth\"
ifeq ($(SUB_TARGET),n56)
OPTIONS += \
WITH_HW_MIPI=1 \
WITH_HW_AGC_MIPI=1 \
TARGET_HS_2_LP_DATA_TIME=41 \
TARGET_LP_2_HS_DATA_TIME=125 \
TARGET_HS_2_LP_CLOCK_TIME=57 \
TARGET_LP_2_HS_CLOCK_TIME=153
else ifeq ($(SUB_TARGET),n61)
OPTIONS += \
WITH_HW_MIPI=1 \
WITH_HW_AGC_MIPI=1 \
TARGET_HS_2_LP_DATA_TIME=31 \
TARGET_LP_2_HS_DATA_TIME=93 \
TARGET_HS_2_LP_CLOCK_TIME=44 \
TARGET_LP_2_HS_CLOCK_TIME=113
else
$(error Unsupported subtarget: $(SUB_TARGET))
endif
GLOBAL_INCLUDES += $(LOCAL_DIR)/include
ALL_OBJS += $(LOCAL_DIR)/init.o
ALL_OBJS += $(LOCAL_DIR)/pinconfig.o