X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fshmin%2Fshmin.c;h=91918e9383d00e1a53ed495b6ea0069331963f33;hb=83d290c56fab2d38cd1ab4c4cc7099559c1d5046;hp=74d1e39734f7598d98f33d588b6d537358b629c5;hpb=aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c;p=oweals%2Fu-boot.git diff --git a/board/shmin/shmin.c b/board/shmin/shmin.c index 74d1e39734..91918e9383 100644 --- a/board/shmin/shmin.c +++ b/board/shmin/shmin.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2007 - 2010 * Nobuhiro Iwamatsu @@ -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();