This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
u-boot_board_info [2019/04/14 12:52] rpjday [include/asm-generic/u-boot.h] |
u-boot_board_info [2019/04/14 14:49] (current) rpjday [setup_machine()] |
||
---|---|---|---|
Line 40: | Line 40: | ||
</code> | </code> | ||
- | ===== board_f.c ===== | + | ===== board_f.c [init_fnc_t] ===== |
- | ==== reserve_board ==== | + | ==== reserve_board() ==== |
<code> | <code> | ||
Line 59: | Line 59: | ||
</code> | </code> | ||
+ | ==== setup_machine() ==== | ||
+ | |||
+ | Not set for Zedboard. | ||
+ | |||
+ | <code> | ||
+ | static int setup_machine(void) | ||
+ | { | ||
+ | #ifdef CONFIG_MACH_TYPE | ||
+ | gd->bd->bi_arch_number = CONFIG_MACH_TYPE; /* board id for Linux */ | ||
+ | #endif | ||
+ | return 0; | ||
+ | } | ||
+ | </code> | ||
+ | |||
+ | ==== dram_init_banksize() [board/xilinx/zynq/board.c] ==== | ||
+ | |||
+ | <code> | ||
+ | |||
+ | </code> | ||