X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=board%2Farmltd%2Fversatile%2Fversatile.c;h=4e2d3421d8b13640c2d26246a4fa654e07660a3a;hb=a25feb7a6d2ac3351ee00c59a58a0dcfb9a13c9d;hp=30a3b904db4cc6e975ffa64f069b61b42baa0671;hpb=3be2bdf5dc69b3142c1162a59bc67191c9077567;p=karo-tx-uboot.git diff --git a/board/armltd/versatile/versatile.c b/board/armltd/versatile/versatile.c index 30a3b904db..4e2d3421d8 100644 --- a/board/armltd/versatile/versatile.c +++ b/board/armltd/versatile/versatile.c @@ -52,7 +52,11 @@ int board_early_init_f (void) int board_init (void) { /* arch number of Versatile Board */ +#ifdef CONFIG_ARCH_VERSATILE_AB + gd->bd->bi_arch_number = MACH_TYPE_VERSATILE_AB; +#else gd->bd->bi_arch_number = MACH_TYPE_VERSATILE_PB; +#endif /* adress of boot parameters */ gd->bd->bi_boot_params = 0x00000100;