Skip to content

Commit

Permalink
Revert "use do_crt1 like other cores (#15009)"
Browse files Browse the repository at this point in the history
This reverts commit fc6f73e.
  • Loading branch information
ttmchiou authored Nov 14, 2024
1 parent 7f6ab69 commit 53fb523
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tt_metal/hw/firmware/src/slave_idle_erisc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ int main(int argc, char *argv[]) {
conditionally_disable_l1_cache();
DIRTY_STACK_MEMORY();
WAYPOINT("I");
do_crt1((uint32_t *)MEM_SLAVE_IERISC_INIT_LOCAL_L1_BASE_SCRATCH);

int32_t num_words = ((uint)__ldm_data_end - (uint)__ldm_data_start) >> 2;
l1_to_local_mem_copy((uint *)__ldm_data_start, (uint tt_l1_ptr *)MEM_SLAVE_IERISC_INIT_LOCAL_L1_BASE_SCRATCH, num_words);

risc_init();

Expand Down

0 comments on commit 53fb523

Please sign in to comment.