LOCAL_DIR := $(GET_LOCAL_DIR)

ARCH    := arm
#Compiling this as cortex-a8 until the compiler supports krait
ARM_CPU := cortex-a8
CPU     := generic

DEFINES += ARM_CPU_CORE_A7

MMC_SLOT         := 1

DEFINES += PERIPH_BLK_BLSP=1
DEFINES += WITH_CPU_EARLY_INIT=0 WITH_CPU_WARM_BOOT=0 \
          MMC_SLOT=$(MMC_SLOT) SSD_ENABLE

DEFINES += TZ_SAVE_KERNEL_HASH

INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared/include

DEVS += fbcon
MODULES += dev/fbcon

OBJS += \
       $(LOCAL_DIR)/platform.o \
       $(LOCAL_DIR)/acpuclock.o \
       $(LOCAL_DIR)/msm8916-clock.o \
       $(LOCAL_DIR)/gpio.o

LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld

include platform/msm_shared/rules.mk

LOCAL_DIR := $(GET_LOCAL_DIR)

ARCH    := arm
#Compiling this as cortex-a8 until the compiler supports krait
ARM_CPU := cortex-a8
CPU     := generic

DEFINES += ARM_CPU_CORE_A7

MMC_SLOT         := 1

DEFINES += PERIPH_BLK_BLSP=1
DEFINES += WITH_CPU_EARLY_INIT=0 WITH_CPU_WARM_BOOT=0 \
          MMC_SLOT=$(MMC_SLOT) SSD_ENABLE

INCLUDES += -I$(LOCAL_DIR)/include -I$(LK_TOP_DIR)/platform/msm_shared/include

DEVS += fbcon
MODULES += dev/fbcon

OBJS += \
       $(LOCAL_DIR)/platform.o \
       $(LOCAL_DIR)/acpuclock.o \
       $(LOCAL_DIR)/msm8916-clock.o \
       $(LOCAL_DIR)/gpio.o

LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld

include platform/msm_shared/rules.mk

Revert "platforms: added TZ_SAVE_KERNEL_HASH build flag to msm8916"
Revert "platforms: added TZ_SAVE_KERNEL_HASH build flag to msm8916"

This reverts commit 905549c2d54290f2f548ee7fe9b6720b561fd42e

Change-Id: If5d045bc86388588ce491f1907241a2b69cf174b
