From 52a022f680e9f59fbb4991109c2435f017c4f6c9 Mon Sep 17 00:00:00 2001 From: Philipp Hug Date: Sat, 7 Jul 2018 13:59:30 +0200 Subject: sifive/fu540: add empty sdram init and size functions Change-Id: I65f900a3277bc8a4a83ebc8883d4a325bd690bf8 Signed-off-by: Philipp Hug Reviewed-on: https://review.coreboot.org/27438 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/soc/sifive/fu540/include/soc/sdram.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/soc/sifive/fu540/include/soc/sdram.h (limited to 'src/soc/sifive/fu540/include') diff --git a/src/soc/sifive/fu540/include/soc/sdram.h b/src/soc/sifive/fu540/include/soc/sdram.h new file mode 100644 index 0000000000..8610a7e053 --- /dev/null +++ b/src/soc/sifive/fu540/include/soc/sdram.h @@ -0,0 +1,24 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2018 Philipp Hug + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __SOC_SIFIVE_FU540_SDRAM_H__ +#define __SOC_SIFIVE_FU540_SDRAM_H__ + +#include + +void sdram_init(void); +size_t sdram_size_mb(void); + +#endif -- cgit v1.2.3