Files
system76-coreboot/src/soc/sifive/fu740/chip.c
Elyes Haouas e7fa24470d cbmem_top: Change the return value to uintptr_t
Change-Id: Ib757c0548f6f643747ba8d70228b3d6dfa5182cd
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82752
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Jakub Czapiga <czapiga@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-07-10 12:55:46 +00:00

18 lines
361 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#include <cbmem.h>
#include <device/device.h>
#include <soc/addressmap.h>
#include <symbols.h>
static void fu740_init(struct device *dev)
{
int index = 0;
ram_from_to(dev, index++, FU740_DRAM, cbmem_top());
}
struct chip_operations soc_sifive_fu740_ops = {
.name = "SIFIVE FU740",
.enable_dev = fu740_init,
};