• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #include <device/device.h>
4 #include <soc/sdram.h>
5 #include <symbols.h>
6 
mainboard_enable(struct device * dev)7 static void mainboard_enable(struct device *dev)
8 {
9 	ram_range(dev, 0, (uintptr_t)_dram, sdram_size_mb());
10 }
11 
12 struct chip_operations mainboard_ops = {
13 	.enable_dev = mainboard_enable,
14 };
15