Skip to content

Commit

Permalink
modified board_f.c to cancel dram init
Browse files Browse the repository at this point in the history
  • Loading branch information
jad13041 committed Jan 14, 2020
1 parent eac05c8 commit 7dd0672
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions common/board_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ static int display_text_info(void)

static int announce_dram_init(void)
{
puts("DRAM: ");
puts("DRAM: (I sure hope it doesn't init) ");
return 0;
}

Expand Down Expand Up @@ -943,10 +943,10 @@ static init_fnc_t init_sequence_f[] = {
/* TODO: unify all these dram functions? */
#if defined(CONFIG_ARM) || defined(CONFIG_X86) || defined(CONFIG_NDS32) || \
defined(CONFIG_MICROBLAZE) || defined(CONFIG_AVR32)
dram_init, /* configure available RAM banks */
//dram_init, /* configure available RAM banks */
#endif
#if defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_M68K)
init_func_ram,
//init_func_ram,
#endif
#ifdef CONFIG_POST
post_init_f,
Expand Down
3 changes: 2 additions & 1 deletion drivers/ddr/fsl/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ void print_ddr_info(unsigned int start_ctrl)
}
}
#endif
puts("\nIn util.c\n");

if ((sdram_cfg >> 8) & 0x7f) {
puts("\n");
puts(" DDR Chip-Select Interleaving Mode: ");
Expand Down Expand Up @@ -326,6 +326,7 @@ void __weak detail_board_ddr_info(void)

void board_add_ram_info(int use_default)
{
puts("\nIn util.c\n");
detail_board_ddr_info();
}

Expand Down

0 comments on commit 7dd0672

Please sign in to comment.