]> Git Repo - J-u-boot.git/blobdiff - board/atmel/sama5d3xek/sama5d3xek.c
Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"
[J-u-boot.git] / board / atmel / sama5d3xek / sama5d3xek.c
index 008f1db6b0e22b400e1e2baf6b385dcb362f2f94..f2e1242fcb0fff4d44d55211982be28fedab7f93 100644 (file)
@@ -4,7 +4,7 @@
  * Bo Shen <[email protected]>
  */
 
-#include <common.h>
+#include <config.h>
 #include <init.h>
 #include <asm/global_data.h>
 #include <asm/io.h>
@@ -147,7 +147,7 @@ int board_early_init_f(void)
 int board_init(void)
 {
        /* adress of boot parameters */
-       gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
+       gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100;
 
 #ifdef CONFIG_NAND_ATMEL
        sama5d3xek_nand_hw_init();
@@ -166,8 +166,8 @@ int board_init(void)
 
 int dram_init(void)
 {
-       gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE,
-                                   CONFIG_SYS_SDRAM_SIZE);
+       gd->ram_size = get_ram_size((void *)CFG_SYS_SDRAM_BASE,
+                                   CFG_SYS_SDRAM_SIZE);
        return 0;
 }
 
This page took 0.023267 seconds and 4 git commands to generate.