msm: Add necessary support to build fsm9900 target

Add the Kconfig and Makefile entries needed to support
the FSM9900 target

Change-Id: I3f995df7357640d3679b6c14e609e9a529fc508a
Acked-by: Kaushik Sikdar <ksikdar@qti.qualcomm.com>
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
This commit is contained in:
Rohit Vaswani 2013-03-20 19:15:30 -07:00 committed by Stephen Boyd
parent bbaa70e86a
commit 7dd5b6e664
4 changed files with 38 additions and 0 deletions

View File

@ -114,6 +114,8 @@ dtb-$(CONFIG_ARCH_MSM8226) += msm8226-sim.dtb \
msm8226-qrd.dtb
dtb-$(CONFIG_ARCH_MSM8610) += msm8610-rumi.dtb \
msm8610-sim.dtb
dtb-$(CONFIG_ARCH_FSM9900) += fsm9900-rumi.dtb \
fsm9900-sim.dtb
dtb-$(CONFIG_ARCH_MSMKRYPTON) += msmkrypton-sim.dtb
dtb-$(CONFIG_ARCH_APQ8084) += apq8084-sim.dtb
dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \

View File

@ -320,6 +320,26 @@ config ARCH_MPQ8092
select SPARSE_IRQ
select MSM_NOPM
config ARCH_FSM9900
bool "FSM9900"
select ARCH_MSM_KRAITMP
select GPIO_MSM_V3
select ARM_GIC
select CPU_V7
select MSM_SCM
select HAVE_ARM_ARCH_TIMER
select MSM_GPIOMUX
select MULTI_IRQ_HANDLER
select MSM_PIL
select MSM_NATIVE_RESTART
select MSM_RESTART_V2
select MAY_HAVE_SPARSE_IRQ
select SPARSE_IRQ
select REGULATOR
select ARM_HAS_SG_CHAIN
select MSM_RUN_QUEUE_STATS
select MSM_NOPM
config ARCH_FSM9XXX
bool "FSM9XXX"
select ARCH_MSM_SCORPION
@ -1100,6 +1120,7 @@ config PHYS_OFFSET
default "0x00000000" if ARCH_MSM8226
default "0x00000000" if ARCH_MSM8610
default "0x10000000" if ARCH_FSM9XXX
default "0x00000000" if ARCH_FSM9900
default "0x00200000" if ARCH_MSM9625
default "0x00000000" if ARCH_MSMKRYPTON
default "0x00200000" if !MSM_STACKED_MEMORY
@ -1263,6 +1284,14 @@ choice
help
Say Y here if you want the debug print routines to direct
their output to the serial port on MSM9625 devices.
config DEBUG_FSM9900_UART
bool "Kernel low-level debugging messages via FSM9900 UART"
depends on ARCH_FSM9900
select MSM_HAS_DEBUG_UART_HS_V14
help
Say Y here if you want the debug print routines to direct
their output to the serial port on FSM9900 devices.
endchoice
choice

View File

@ -114,6 +114,7 @@ ifndef CONFIG_ARCH_MPQ8092
ifndef CONFIG_ARCH_MSM8610
ifndef CONFIG_ARCH_APQ8084
ifndef CONFIG_ARCH_MSMKRYPTON
ifndef CONFIG_ARCH_FSM9900
obj-y += nand_partitions.o
endif
endif
@ -125,6 +126,7 @@ endif
endif
endif
endif
endif
obj-$(CONFIG_MSM_SDIO_TTY) += sdio_tty.o
obj-$(CONFIG_MSM_SMD_TTY) += smd_tty.o
obj-$(CONFIG_MSM_SMD_QMI) += smd_qmi.o
@ -223,6 +225,7 @@ obj-$(CONFIG_ARCH_FSM9XXX) += devices-fsm9xxx.o
obj-$(CONFIG_ARCH_FSM9XXX) += clock-fsm9xxx.o clock-local.o acpuclock-fsm9xxx.o
obj-$(CONFIG_ARCH_FSM9XXX) += dfe-fsm9xxx.o rfic-fsm9xxx.o
obj-$(CONFIG_ARCH_FSM9XXX) += restart-fsm9xxx.o xo-fsm9xxx.o
obj-$(CONFIG_ARCH_FSM9900) += board-fsm9900.o board-fsm9900-gpiomux.o
obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog.o
obj-$(CONFIG_MSM_WATCHDOG) += msm_watchdog_asm.o
@ -370,6 +373,7 @@ obj-$(CONFIG_ARCH_MPQ8092) += gpiomux-v2.o gpiomux.o
obj-$(CONFIG_ARCH_MSM8226) += gpiomux-v2.o gpiomux.o
obj-$(CONFIG_ARCH_MSM8610) += gpiomux-v2.o gpiomux.o
obj-$(CONFIG_ARCH_APQ8084) += gpiomux-v2.o gpiomux.o
obj-$(CONFIG_ARCH_FSM9900) += gpiomux-v2.o gpiomux.o
obj-$(CONFIG_MSM_SLEEP_STATS_DEVICE) += idle_stats_device.o
obj-$(CONFIG_MSM_DCVS) += msm_dcvs_scm.o msm_dcvs.o msm_mpdecision.o

View File

@ -68,6 +68,9 @@ endif
params_phys-$(CONFIG_ARCH_FSM9XXX) := 0x10000100
initrd_phys-$(CONFIG_ARCH_FSM9XXX) := 0x12000000
# FSM9900
zreladdr-$(CONFIG_ARCH_FSM9900) := 0x00008000
# MPQ8092
zreladdr-$(CONFIG_ARCH_MPQ8092) := 0x00008000