Nick: hell E-mail: NULL Board: ec/hp/kbc1126 Contents: diff --git a/src/ec/hp/kbc1126/Kconfig b/src/ec/hp/kbc1126/Kconfig index 10f2cece15..f9c878a898 100644 --- a/src/ec/hp/kbc1126/Kconfig +++ b/src/ec/hp/kbc1126/Kconfig @@ -17,6 +17,12 @@ config EC_HP_KBC1126_ECFW_IN_CBFS if EC_HP_KBC1126_ECFW_IN_CBFS +config ECFW_PTR_ADDR + default 0xffffff00 + +config ECFW_PTR_SIZE + default 8 + comment "Please select the following otherwise your laptop cannot be powered on." config KBC1126_FIRMWARE @@ -27,16 +33,6 @@ config KBC1126_FIRMWARE Select this option to add the two firmware blobs for KBC1126. You need these two blobs to power on your machine. -if EC_HP_KBC1126 - -config ECFW_PTR_ADDR - default 0xffffff00 - -config ECFW_PTR_SIZE - default 8 - -endif - config KBC1126_FW1 string "KBC1126 firmware #1 path and filename" depends on KBC1126_FIRMWARE diff --git a/src/ec/hp/kbc1126/Makefile.inc b/src/ec/hp/kbc1126/Makefile.inc index 61a2aa68e1..28f269760f 100644 --- a/src/ec/hp/kbc1126/Makefile.inc +++ b/src/ec/hp/kbc1126/Makefile.inc @@ -1,10 +1,12 @@ ## SPDX-License-Identifier: GPL-2.0-only ifeq ($(CONFIG_EC_HP_KBC1126_ECFW_IN_CBFS),y) + +bootblock-y += ecfw_ptr.c + KBC1126_EC_INSERT:=$(top)/util/kbc1126/kbc1126_ec_insert ifeq ($(CONFIG_KBC1126_FIRMWARE),y) -bootblock-y += ecfw_ptr.c cbfs-files-y += ecfw1.bin cbfs-files-y += ecfw2.bin