blackfin: Fix up board_type global data

This should be in arch_global_data but was dropped in the change-over.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2013-03-05 14:39:59 +00:00 committed by Tom Rini
parent 068a1e46bf
commit 4da2551efa
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@
/* Architecture-specific global data */
struct arch_global_data {
unsigned long board_type;
};
#include <asm-generic/global_data.h>

View File

@ -77,7 +77,7 @@ static void display_global_data(void)
bd = gd->bd;
printf(" gd: %p\n", gd);
printf(" |-flags: %lx\n", gd->flags);
printf(" |-board_type: %lx\n", gd->board_type);
printf(" |-board_type: %lx\n", gd->arch.board_type);
printf(" |-baudrate: %u\n", gd->baudrate);
printf(" |-have_console: %lx\n", gd->have_console);
printf(" |-ram_size: %lx\n", gd->ram_size);