Skip to content

Commit 132f5dd

Browse files
Lyle_Linalex3788
authored andcommitted
Add node /proc/board_info to display board info (2)
Show board type only. Change-Id: I94c135e28fb10b577dcb49b75ca850fc44676ea0 Reviewed-on: https://tp-biosrd-v02/gerrit/80646 Reviewed-by: Alex Cheng(鄭富元) <Alex_Cheng@asus.com> Tested-by: Alex Cheng(鄭富元) <Alex_Cheng@asus.com>
1 parent 4b52627 commit 132f5dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/board-info/board-info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ static void read_pcb_id(void)
162162
static int board_info_proc_read(struct seq_file *buf, void *v)
163163
{
164164
/* Board info display */
165-
seq_printf(buf, "%s\n%s\n%s\n", board_type, ram_size, pcb);
165+
seq_printf(buf, "%s\n", board_type);
166166
printk("[board_info] %s board_type=\'%s\' ram_size=\'%s' pcb=\'%s\'\n",
167167
__func__, board_type, ram_size, pcb);
168168
return 0;

0 commit comments

Comments
 (0)