summaryrefslogtreecommitdiff
path: root/src/ec/51nb/npce985la0dx/Makefile.inc
blob: 810b324b8aae49252ad93020fa711e0a83488555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: GPL-2.0-or-later
# This file is part of the coreboot project.

ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX),y)

files_added::
ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX_FIRMWARE),y)
	$(CBFSTOOL) $(obj)/coreboot.rom write -r EC -f $(CONFIG_EC_51NB_NPCE985LA0DX_FW) --fill-upward
endif

build_complete::
ifeq ($(CONFIG_EC_51NB_NPCE985LA0DX_FIRMWARE),)
	printf "\n** WARNING **\n"
	printf "You haven't added the firmware blobs for 51NB EC.\n"
	printf "You may be unable to power on your laptop without these blobs.\n"
	printf "Please select the following option to add them:\n\n"
	printf "  Chipset --->\n"
	printf "    [*] Add firmware images for 51NB EC\n\n"
endif

ramstage-y += npce985la0dx.c

endif