Build: PXA: Fix Vpac270 build variants

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c
index 91d8580..43bbdff 100644
--- a/board/vpac270/vpac270.c
+++ b/board/vpac270/vpac270.c
@@ -66,7 +66,7 @@
 	gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
 	gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
 
-#ifdef	CONFIG_256M_U_BOOT
+#ifdef	CONFIG_RAM_256M
 	gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
 	gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE;
 #endif