]> git.ipfire.org Git - thirdparty/u-boot.git/blame - board/bticino/mamoj/mamoj.c
Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet""
[thirdparty/u-boot.git] / board / bticino / mamoj / mamoj.c
CommitLineData
855ff8e6 1// SPDX-License-Identifier: GPL-2.0+
1494cc89
JT
2/*
3 * Copyright (C) 2018 Simone CIANNI <simone.cianni@bticino.it>
4 * Copyright (C) 2018 Raffaele RECALCATI <raffaele.recalcati@bticino.it>
5 * Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
1494cc89
JT
6 */
7
d678a59d 8#include <common.h>
691d719d 9#include <init.h>
1494cc89 10#include <asm/arch/sys_proto.h>
401d1c4f 11#include <asm/global_data.h>
1494cc89
JT
12
13DECLARE_GLOBAL_DATA_PTR;
14
15int board_init(void)
16{
17 /* Address of boot parameters */
18 gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
19
20 return 0;
21}
22
23int dram_init(void)
24{
25 gd->ram_size = imx_ddr_size();
26
27 return 0;
28}