Skip to content

Commit 6a85b68

Browse files
committed
Merge remote-tracking branch 'origin/aspeed-dev' into aspeed-master
Signed-off-by: Jamin Lin <[email protected]> Change-Id: Ifa35ad854e76f4d7ff6e22c183a66f9153311704
2 parents a0aee8d + 88f0bd0 commit 6a85b68

File tree

132 files changed

+3938
-2292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+3938
-2292
lines changed

apps/aspeed-pfr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
cmake_minimum_required(VERSION 3.13.1)
55

66
find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
7-
project(aspeed-pfr VERSION 01.04 LANGUAGES C)
7+
project(aspeed-pfr VERSION 01.05 LANGUAGES C)
88

99
set(PROJECT_VERSION_MAJOR ${CMAKE_PROJECT_VERSION_MAJOR})
1010
set(PROJECT_VERSION_MINOR ${CMAKE_PROJECT_VERSION_MINOR})

apps/aspeed-pfr/Kconfig

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,17 @@ config BMC_PCH_STAGING_SIZE
130130
The max size of PCH staging area for putting signed PCH capsule.
131131

132132
config BMC_PFR_STAGING_SIZE
133-
default 0x500000
133+
default 0x100000
134134
hex "PFR staging region size in BMC flash"
135135
help
136136
The max size of PFR staging area for putting signed ROT capsule.
137137

138+
config BMC_CPLD_STAGING_SIZE
139+
default 0x400000
140+
hex "Platform CPLD staging region size in BMC flash"
141+
help
142+
The max size of platform CPLD staging area for putting signed CPLD capsule.
143+
138144
config PCH_STAGING_SIZE
139145
default 0x1000000
140146
hex "PCH staging region size in PCH flash"
@@ -178,6 +184,13 @@ config PFR_SW_MAILBOX
178184
help
179185
Enable SW mailbox support.
180186

187+
config KEY_MANIFEST_MAX_COUNT
188+
depends on CERBERUS_PFR
189+
default 0x10
190+
hex "Key manifest max count"
191+
help
192+
The max count of key manifest for Cerberus PFR.
193+
181194
rsource "Kconfig.spdm"
182195

183196
config PFR_DEBUG_SHELL

apps/aspeed-pfr/boards/ast1060_dcscm.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ CONFIG_I2C_SWMBX_SLAVE=y
1616
CONFIG_PLATFORM_STATE_LED=y
1717
CONFIG_BMC_STAGING_SIZE=0x3de0000
1818
CONFIG_BMC_PCH_STAGING_SIZE=0x1000000
19-
CONFIG_BMC_PFR_STAGING_SIZE=0x500000
19+
CONFIG_BMC_PFR_STAGING_SIZE=0x100000
20+
CONFIG_BMC_CPLD_STAGING_SIZE=0x400000
2021
CONFIG_PCH_STAGING_SIZE=0x1000000
2122

2223
CONFIG_INTEL_PFR=y

apps/aspeed-pfr/boards/ast1060_dcscm.overlay

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@
6363
status = "okay";
6464
};
6565

66-
// for i2c filter testing
67-
&i2c8 {
68-
pinctrl-0 = <&pinctrl_i2c8_default>;
69-
status = "okay";
70-
};
71-
7266
#if 0
7367
// For mctp over i3c
7468
// AST2600 i3c-1 -> AST1060 i3c-2
@@ -210,13 +204,13 @@
210204
};
211205

212206
&spi2_cs0 {
213-
spi-max-buswidth = <4>;
207+
spi-max-buswidth = <1>;
214208
spi-max-frequency = <50000000>;
215209
status = "okay";
216210
};
217211

218212
&spi2_cs1 {
219-
spi-max-buswidth = <4>;
213+
spi-max-buswidth = <1>;
220214
spi-max-frequency = <50000000>;
221215
status = "okay";
222216
};
@@ -255,7 +249,7 @@
255249
log-ram-size = <0x200>;
256250
pinctrl-0 = <&pinctrl_spim3_cs &pinctrl_spim3_in_default &pinctrl_spim3_out_default
257251
&pinctrl_spim3_qspi_in_default &pinctrl_spim3_qspi_out_default
258-
&pinctrl_spim3_muxsel &pinctrl_spim3_rst_out>;
252+
&pinctrl_spim3_muxsel>;
259253

260254
flash-device = <&spi2_cs0>;
261255
ext-mux-sel = <1>;
@@ -270,7 +264,7 @@
270264
log-ram-size = <0x200>;
271265
pinctrl-0 = <&pinctrl_spim4_cs &pinctrl_spim4_in_default &pinctrl_spim4_out_default
272266
&pinctrl_spim4_qspi_in_default &pinctrl_spim4_qspi_out_default
273-
&pinctrl_spim4_muxsel &pinctrl_spim4_rst_out>;
267+
&pinctrl_spim4_muxsel>;
274268

275269
flash-device = <&spi2_cs1>;
276270
ext-mux-sel = <1>;

apps/aspeed-pfr/boards/ast1060_dcscm_amd.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ CONFIG_I2C_SWMBX_SLAVE=y
1616
CONFIG_PLATFORM_STATE_LED=y
1717
CONFIG_BMC_STAGING_SIZE=0x4000000
1818
CONFIG_BMC_PCH_STAGING_SIZE=0x2000000
19-
CONFIG_BMC_PFR_STAGING_SIZE=0x500000
19+
CONFIG_BMC_PFR_STAGING_SIZE=0x100000
20+
CONFIG_BMC_CPLD_STAGING_SIZE=0x400000
2021
CONFIG_BMC_PFR_STAGING_OFFSET=0xe000000
2122
CONFIG_PCH_STAGING_SIZE=0xf10000
23+
CONFIG_KEY_MANIFEST_MAX_COUNT=0x10
2224

apps/aspeed-pfr/boards/ast1060_dcscm_amd.overlay

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@
6363
status = "okay";
6464
};
6565

66-
// for i2c filter testing
67-
&i2c8 {
68-
pinctrl-0 = <&pinctrl_i2c8_default>;
69-
status = "okay";
70-
};
71-
7266
&wdt0 {
7367
status = "okay";
7468
};

apps/aspeed-pfr/boards/ast1060_dcscm_dice.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ CONFIG_I2C_SWMBX_SLAVE=y
1616
CONFIG_PLATFORM_STATE_LED=y
1717
CONFIG_BMC_STAGING_SIZE=0x3de0000
1818
CONFIG_BMC_PCH_STAGING_SIZE=0x1000000
19-
CONFIG_BMC_PFR_STAGING_SIZE=0x500000
19+
CONFIG_BMC_PFR_STAGING_SIZE=0x100000
20+
CONFIG_BMC_CPLD_STAGING_SIZE=0x400000
2021
CONFIG_PCH_STAGING_SIZE=0x1000000
2122

2223
CONFIG_INTEL_PFR=y

apps/aspeed-pfr/boards/ast1060_dcscm_dice.overlay

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@
6363
status = "okay";
6464
};
6565

66-
// for i2c filter testing
67-
&i2c8 {
68-
pinctrl-0 = <&pinctrl_i2c8_default>;
69-
status = "okay";
70-
};
71-
7266
#if 0
7367
// For mctp over i3c
7468
// AST2600 i3c-1 -> AST1060 i3c-2

apps/aspeed-pfr/boards/ast1060_dcscm_gpio_common.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
led1 = &pfr_fp_amber_led_out;
2828
fp-input0 = &bmc_fp_green_led_in;
2929
fp-input1 = &bmc_fp_amber_led_in;
30+
hbled0 = &pfr_hb_led_out;
3031
};
3132

3233
gpio_keys {
@@ -54,6 +55,11 @@
5455
gpios = <&gpio0_e_h 25 1>; /* GPIO_H1 */
5556
label = "PFR_FP_AMBER_LED";
5657
};
58+
59+
pfr_hb_led_out: hb_led {
60+
gpios = <&gpio0_i_l 12 1>; /* GPIO_J4 */
61+
label = "PFR_HB_LED";
62+
};
5763
};
5864
};
5965

apps/aspeed-pfr/boards/ast1060_dual_flash.conf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ CONFIG_ASPEED_DC_SCM=y
1616
CONFIG_DUAL_FLASH=y
1717
CONFIG_BMC_STAGING_SIZE=0x3de0000
1818
CONFIG_BMC_PCH_STAGING_SIZE=0x1000000
19-
CONFIG_BMC_PFR_STAGING_SIZE=0x500000
19+
CONFIG_BMC_PFR_STAGING_SIZE=0x100000
20+
CONFIG_BMC_CPLD_STAGING_SIZE=0x400000
2021
CONFIG_PCH_STAGING_SIZE=0x1000000
2122

2223
# Intel PFR 3.0

0 commit comments

Comments
 (0)