2 * Copyright (C) 2015 Andreas Bießmann <andreas.devel@googlemail.com>
4 * SPDX-License-Identifier: GPL-2.0+
8 DECLARE_GLOBAL_DATA_PTR;
12 /* check for the maximum amount of memory possible on AP7000 devices */
13 gd->ram_size = get_ram_size(
14 (void *)CONFIG_SYS_SDRAM_BASE,