Skip to content
Snippets Groups Projects
Commit 4da2551e authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

blackfin: Fix up board_type global data


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

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 068a1e46
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
/* Architecture-specific global data */ /* Architecture-specific global data */
struct arch_global_data { struct arch_global_data {
unsigned long board_type;
}; };
#include <asm-generic/global_data.h> #include <asm-generic/global_data.h>
......
...@@ -77,7 +77,7 @@ static void display_global_data(void) ...@@ -77,7 +77,7 @@ static void display_global_data(void)
bd = gd->bd; bd = gd->bd;
printf(" gd: %p\n", gd); printf(" gd: %p\n", gd);
printf(" |-flags: %lx\n", gd->flags); 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(" |-baudrate: %u\n", gd->baudrate);
printf(" |-have_console: %lx\n", gd->have_console); printf(" |-have_console: %lx\n", gd->have_console);
printf(" |-ram_size: %lx\n", gd->ram_size); printf(" |-ram_size: %lx\n", gd->ram_size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment