Rename __attribute__((packed)) --> __packed
[coreboot.git] / src / cpu / ti / am335x / bootblock_media.c
blob2c208b98a1f42101534ca94ab9a488ce19fc128a
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 Google Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 #include <boot_device.h>
17 #include <symbols.h>
19 /* FIXME: No idea how big the internal SRAM actually is. */
20 static const struct mem_region_device boot_dev =
21 MEM_REGION_DEV_RO_INIT(_dram, CONFIG_ROM_SIZE);
23 const struct region_device *boot_device_ro(void)
25 return &boot_dev.rdev;