tree: drop last paragraph of GPL copyright header
[coreboot.git] / src / soc / rockchip / rk3288 / Makefile.inc
blob0ce6425f3a0542ad573cace052f23b6c6bcc97b6
1 ##
2 ## This file is part of the coreboot project.
3 ##
4 ## Copyright 2014 Rockchip Inc.
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; version 2 of the License.
9 ##
10 ## This program is distributed in the hope that it will be useful,
11 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 ## GNU General Public License for more details.
16 ifeq ($(CONFIG_SOC_ROCKCHIP_RK3288),y)
18 IDBTOOL = util/rockchip/make_idb.py
20 bootblock-y += bootblock.c
21 bootblock-y += cbmem.c
22 ifeq ($(CONFIG_BOOTBLOCK_CONSOLE),y)
23 bootblock-$(CONFIG_DRIVERS_UART) += uart.c
24 endif
25 bootblock-y += timer.c
26 bootblock-y += clock.c
27 bootblock-y += spi.c
28 bootblock-y += gpio.c
29 bootblock-y += i2c.c
30 bootblock-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
31 bootblock-y += rk808.c
33 verstage-y += spi.c
34 verstage-y += timer.c
35 verstage-$(CONFIG_DRIVERS_UART) += uart.c
36 verstage-y += gpio.c
37 verstage-y += clock.c
38 libverstage-y += crypto.c
39 verstage-y += i2c.c
40 verstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
42 romstage-y += cbmem.c
43 romstage-y += timer.c
44 romstage-$(CONFIG_DRIVERS_UART) += uart.c
45 romstage-y += i2c.c
46 romstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
47 romstage-y += clock.c
48 romstage-y += gpio.c
49 romstage-y += spi.c
50 romstage-y += sdram.c
51 romstage-y += rk808.c
52 romstage-y += pwm.c
53 romstage-y += tsadc.c
55 ramstage-y += soc.c
56 ramstage-y += cbmem.c
57 ramstage-y += timer.c
58 ramstage-y += i2c.c
59 ramstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
60 ramstage-y += clock.c
61 ramstage-y += spi.c
62 ramstage-y += sdram.c
63 ramstage-y += gpio.c
64 ramstage-y += rk808.c
65 ramstage-y += pwm.c
66 ramstage-y += vop.c
67 ramstage-y += edp.c
68 ramstage-y += hdmi.c
69 ramstage-y += display.c
70 ramstage-$(CONFIG_DRIVERS_UART) += uart.c
72 CPPFLAGS_common += -Isrc/soc/rockchip/rk3288/include/
74 $(objcbfs)/bootblock.bin: $(objcbfs)/bootblock.raw.bin
75         @printf "Generating: $(subst $(obj)/,,$(@))\n"
76         @mkdir -p $(dir $@)
77         @$(IDBTOOL) --from=$< --to=$@ --enable-align
79 endif