966bcc1438
Add support for saving the state of the IRQ registers over suspend. This requires moving the S3C64XX UART registers into <plat/regs-serial.h> and adding irq-pm.c which saves the state of all the IRQ registers. The irq-pm.c saves all the IRQ registers, including the IRQ_EINT and IRQ_EINT_GROUP registers as it was easier than adding three different files. Also ensuring that all the registers are restored to the same state as before suspend is considered to be the best thing to do. Note, we do not suspend the VIC here, this is done by the VIC driver itself. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
38 lines
711 B
Makefile
38 lines
711 B
Makefile
# arch/arm/plat-s3c64xx/Makefile
|
|
#
|
|
# Copyright 2008 Openmoko, Inc.
|
|
# Copyright 2008 Simtec Electronics
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
obj-y :=
|
|
obj-m :=
|
|
obj-n := dummy.o
|
|
obj- :=
|
|
|
|
# Core files
|
|
|
|
obj-y += dev-uart.o
|
|
obj-y += cpu.o
|
|
obj-y += irq.o
|
|
obj-y += irq-eint.o
|
|
obj-y += clock.o
|
|
obj-y += gpiolib.o
|
|
|
|
# CPU support
|
|
|
|
obj-$(CONFIG_CPU_S3C6400_INIT) += s3c6400-init.o
|
|
obj-$(CONFIG_CPU_S3C6400_CLOCK) += s3c6400-clock.o
|
|
|
|
# PM support
|
|
|
|
obj-$(CONFIG_PM) += pm.o
|
|
obj-$(CONFIG_PM) += sleep.o
|
|
obj-$(CONFIG_PM) += irq-pm.o
|
|
|
|
# Device setup
|
|
|
|
obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o
|
|
obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o
|
|
obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o
|