Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[manuf] treat SimDv and Silicon platforms the same #25985

Open
wants to merge 1 commit into
base: earlgrey_1.0.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ static status_t provision(ujson_t *uj) {
}

// Enable external clock on silicon platforms if requested.
if (kDeviceType == kDeviceSilicon && in_data.use_ext_clk) {
if ((kDeviceType == kDeviceSilicon || kDeviceType == kDeviceSimDv) &&
in_data.use_ext_clk) {
CHECK_DIF_OK(dif_clkmgr_external_clock_set_enabled(&clkmgr,
/*is_low_speed=*/true));
IBEX_SPIN_FOR(did_extclk_settle(&clkmgr), kSettleDelayMicros);
Expand Down
2 changes: 1 addition & 1 deletion sw/device/silicon_creator/manuf/lib/individualize.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ status_t manuf_individualize_device_hw_cfg(
// empty. In this case we set the HW origin portion of the CP device ID.
// Otherwise, we expect the CP device ID to be present and non-zero.
if (flash_cp_device_id_empty) {
if (kDeviceType != kDeviceSilicon) {
if (kDeviceType != kDeviceSilicon && kDeviceType != kDeviceSimDv) {
memset(&cp_device_id, 0, sizeof(cp_device_id));
cp_device_id[0] = 0x00024001u;
} else {
Expand Down
Loading