blob: 4d2af5953d87508b82b82bcb2653a9549dd97cd4 [file] [log] [blame]
Julius Wernerec5e5e02014-08-20 15:29:56 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2014 Google Inc.
5 *
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.
9 *
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.
Julius Wernerec5e5e02014-08-20 15:29:56 -070014 */
15
16/* This file contains macro definitions for memlayout.ld linker scripts. */
17
18#ifndef __ARCH_MEMLAYOUT_H
19#define __ARCH_MEMLAYOUT_H
20
21/* TODO: Double-check that that's the correct alignment for our ABI. */
22#define STACK(addr, size) REGION(stack, addr, size, 8)
23
24/* TODO: Need to add DMA_COHERENT region like on ARM? */
25
26#endif /* __ARCH_MEMLAYOUT_H */