SPDX: Convert all of our single license tags to Linux Kernel style
[oweals/u-boot.git] / board / shmin / shmin.c
index 74d1e39734f7598d98f33d588b6d537358b629c5..91918e9383d00e1a53ed495b6ea0069331963f33 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2007 - 2010
  *     Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
@@ -7,8 +8,6 @@
  *
  * board/shmin/shmin.c
  *
- * SPDX-License-Identifier:    GPL-2.0+
- *
  * Copy board_flash_get_legacy() from board/freescale/m54455evb/m54455evb.c
  */
 
@@ -33,16 +32,6 @@ int board_init(void)
        return 0;
 }
 
-int dram_init(void)
-{
-       DECLARE_GLOBAL_DATA_PTR;
-
-       gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
-       gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE;
-       printf("DRAM:  %dMB\n", CONFIG_SYS_SDRAM_SIZE / (1024 * 1024));
-       return 0;
-}
-
 int board_eth_init(bd_t *bis)
 {
        return ne2k_register();