Skip to content

Commit

Permalink
msm8974: Change the product name from copper to msm8974
Browse files Browse the repository at this point in the history
fastboot flash all command looks for target name from the build
& bootloaders. If the product names do not match the flash all
command fails. Fix by changing the name of the product in the
bootloader to match that of the complete build.

CRs-Fixed: 442910
Change-Id: I3d8ac2660dc9cc9bdcfe471593401b96b2afac6b
  • Loading branch information
Channagoud Kadabi committed Feb 11, 2013
1 parent 493370f commit 49c6696
Show file tree
Hide file tree
Showing 20 changed files with 10 additions and 13 deletions.
11 changes: 4 additions & 7 deletions AndroidBoot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ else
SIGNED_KERNEL := SIGNED_KERNEL=0
endif

ifneq ($(strip $(TARGET_BOOTLOADER_PLATFORM_OVERRIDE)),)
BOOTLOADER_PLATFORM := $(TARGET_BOOTLOADER_PLATFORM_OVERRIDE)
ifeq ($(call is-board-platform,msm8660),true)
BOOTLOADER_PLATFORM := msm8660_surf
else
ifeq ($(call is-board-platform,msm8660),true)
BOOTLOADER_PLATFORM := msm8660_surf
else
BOOTLOADER_PLATFORM := $(TARGET_BOARD_PLATFORM)
endif
BOOTLOADER_PLATFORM := $(TARGET_BOARD_PLATFORM)
endif

# NAND variant output
TARGET_NAND_BOOTLOADER := $(PRODUCT_OUT)/appsboot.mbn
NAND_BOOTLOADER_OUT := $(TARGET_OUT_INTERMEDIATES)/NAND_BOOTLOADER_OBJ
Expand Down
4 changes: 2 additions & 2 deletions dev/panel/msm/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OBJS += \
$(LOCAL_DIR)/lcdc_truly_hvga.o
endif

ifeq ($(PLATFORM),copper)
ifeq ($(PLATFORM),msm8974)
OBJS += \
$(LOCAL_DIR)/mipi_toshiba_video_720p.o
endif
endif
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion platform/copper/rules.mk → platform/msm8974/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ MODULES += dev/fbcon
OBJS += \
$(LOCAL_DIR)/platform.o \
$(LOCAL_DIR)/acpuclock.o \
$(LOCAL_DIR)/copper-clock.o \
$(LOCAL_DIR)/msm8974-clock.o \
$(LOCAL_DIR)/gpio.o

LINKER_SCRIPT += $(BUILDDIR)/system-onesegment.ld
Expand Down
2 changes: 1 addition & 1 deletion platform/msm_shared/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ifeq ($(PLATFORM),msm8960)
$(LOCAL_DIR)/nand.o
endif

ifeq ($(PLATFORM),copper)
ifeq ($(PLATFORM),msm8974)
OBJS += $(LOCAL_DIR)/qgic.o \
$(LOCAL_DIR)/qtimer.o \
$(LOCAL_DIR)/qtimer_mmap.o \
Expand Down
2 changes: 1 addition & 1 deletion project/copper.mk → project/msm8974.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
LOCAL_DIR := $(GET_LOCAL_DIR)

TARGET := copper
TARGET := msm8974

MODULES += app/aboot

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion target/copper/rules.mk → target/msm8974/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ LOCAL_DIR := $(GET_LOCAL_DIR)

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

PLATFORM := copper
PLATFORM := msm8974

MEMBASE := 0x0F900000 # SDRAM
MEMSIZE := 0x00100000 # 1MB
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 49c6696

Please sign in to comment.