diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2017-09-18 15:26:00 +0800 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2017-09-29 17:51:22 +0200 |
commit | e974b08119348ec19c44ffcb1d4184fac9ea707b (patch) | |
tree | a3368bd6c865cca01f8fcf185bac57649be1ea02 /board/atmel/common | |
parent | 4b0467db538cc60fa02d448ed0758247d4607c63 (diff) | |
download | u-boot-e974b08119348ec19c44ffcb1d4184fac9ea707b.tar.gz |
board: sama5d4_xplained: Convert to CONFIG_DM_VIDEO
Convert the board to support the video driver model, add the device
tree node, and remove the unnecessary code.
Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/atmel/common')
-rw-r--r-- | board/atmel/common/video_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/atmel/common/video_display.c b/board/atmel/common/video_display.c index 39ad619819..b20abc7386 100644 --- a/board/atmel/common/video_display.c +++ b/board/atmel/common/video_display.c @@ -43,7 +43,7 @@ int at91_video_show_board_info(void) nand_size = 0; #ifdef CONFIG_NAND_ATMEL for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++) - nand_size += nand_info[i]->size; + nand_size += get_nand_dev_by_index(i)->size; #endif len += sprintf(&buf[len], "%ld MB SDRAM, %ld MB NAND\n", |