diff options
Diffstat (limited to 'include/common.h')
| -rw-r--r-- | include/common.h | 11 | 
1 files changed, 10 insertions, 1 deletions
| diff --git a/include/common.h b/include/common.h index d0bf1e8ab..4ad17eafb 100644 --- a/include/common.h +++ b/include/common.h @@ -300,7 +300,7 @@ int	abortboot(int bootdelay);  extern char console_buffer[];  /* arch/$(ARCH)/lib/board.c */ -void	board_init_f  (ulong) __attribute__ ((noreturn)); +void	board_init_f(ulong);  void	board_init_r  (gd_t *, ulong) __attribute__ ((noreturn));  int	checkboard    (void);  int	checkflash    (void); @@ -311,6 +311,15 @@ int mac_read_from_eeprom(void);  extern u8 _binary_dt_dtb_start[];	/* embedded device tree blob */  int set_cpu_clk_info(void); +/** + * Show the DRAM size in a board-specific way + * + * This is used by boards to display DRAM information in their own way. + * + * @param size	Size of DRAM (which should be displayed along with other info) + */ +void board_show_dram(ulong size); +  /* common/flash.c */  void flash_perror (int); |