1 ## SPDX-License-Identifier: GPL-2.0-only
3 ifeq ($(CONFIG_SOC_ROCKCHIP_RK3288
),y
)
5 IDBTOOL
= util
/rockchip
/make_idb.py
7 bootblock-y
+= bootblock.c
8 bootblock-y
+= ..
/common
/uart.c
10 bootblock-y
+= clock.c
11 bootblock-y
+= ..
/common
/spi.c
12 bootblock-y
+= ..
/common
/gpio.c
14 bootblock-y
+= ..
/common
/i2c.c
15 bootblock-
$(CONFIG_SOFTWARE_I2C
) += software_i2c.c
16 bootblock-y
+= ..
/common
/rk808.c
18 verstage-y
+= ..
/common
/spi.c
20 verstage-y
+= ..
/common
/uart.c
21 verstage-y
+= ..
/common
/gpio.c
24 verstage-y
+= crypto.c
25 verstage-y
+= ..
/common
/i2c.c
26 verstage-
$(CONFIG_SOFTWARE_I2C
) += software_i2c.c
28 romstage-y
+= ..
/common
/cbmem.c
30 romstage-y
+= ..
/common
/uart.c
31 romstage-y
+= ..
/common
/i2c.c
32 romstage-
$(CONFIG_SOFTWARE_I2C
) += software_i2c.c
34 romstage-y
+= ..
/common
/gpio.c
36 romstage-y
+= ..
/common
/spi.c
38 romstage-y
+= ..
/common
/rk808.c
39 romstage-y
+= ..
/common
/pwm.c
41 romstage-y
+= ..
/common
/i2c.c
45 ramstage-y
+= ..
/common
/i2c.c
46 ramstage-
$(CONFIG_SOFTWARE_I2C
) += software_i2c.c
48 ramstage-y
+= ..
/common
/spi.c
50 ramstage-y
+= ..
/common
/gpio.c
52 ramstage-y
+= ..
/common
/rk808.c
53 ramstage-y
+= ..
/common
/pwm.c
54 ramstage-y
+= ..
/common
/vop.c
55 ramstage-y
+= ..
/common
/edp.c
57 ramstage-y
+= display.c
58 ramstage-y
+= ..
/common
/uart.c
60 CPPFLAGS_common
+= -Isrc
/soc
/rockchip
/rk3288
/include
61 CPPFLAGS_common
+= -Isrc
/soc
/rockchip
/common
/include
63 $(objcbfs
)/bootblock.bin
: $(objcbfs
)/bootblock.raw.bin
64 @printf
"Generating: $(subst $(obj)/,,$(@))\n"
65 $(Q
)mkdir
-p
$(dir $@
)
66 $(Q
)$(IDBTOOL
) --from
=$< --to
=$@
--enable-align
--chip
=RK32