Debian Codegraph @

src/ec/hp/kbc1126/Makefile.mk

raw symbols SCIP
1 ## SPDX-License-Identifier: GPL-2.0-only
2
3 ifeq ($(CONFIG_EC_HP_KBC1126_ECFW_IN_CBFS),y)
4
5 bootblock-y += ecfw_ptr.c
6
7 ifeq ($(CONFIG_KBC1126_FIRMWARE),y)
8 cbfs-files-y += ecfw1.bin
9 cbfs-files-y += ecfw2.bin
10
11 ecfw1.bin-file := $(call strip_quotes,$(CONFIG_KBC1126_FW1))
12 ecfw1.bin-position := $(CONFIG_KBC1126_FW1_OFFSET)
13 ecfw1.bin-type := raw
14
15 ecfw2.bin-file := $(call strip_quotes,$(CONFIG_KBC1126_FW2))
16 ecfw2.bin-position := $(CONFIG_KBC1126_FW2_OFFSET)
17 ecfw2.bin-type := raw
18 endif
19
20 show_notices::
21 ifeq ($(CONFIG_KBC1126_FIRMWARE),)
22 printf "\n** WARNING **\n"
23 printf "You haven't added the firmware blobs for KBC1126 EC.\n"
24 printf "You may be unable to power on your laptop without these blobs.\n"
25 printf "Please select the following option to add them:\n\n"
26 printf " Chipset --->\n"
27 printf " [*] Add firmware images for KBC1126 EC\n\n"
28 printf "You can read util/kbc1126/README.md for details.\n\n"
29 endif
30
31 endif
32
33 ramstage-$(CONFIG_EC_HP_KBC1126) += ec.c
34 bootblock-$(CONFIG_EC_HP_KBC1126) += early_init.c
35 romstage-$(CONFIG_EC_HP_KBC1126) += early_init.c