blob: eafce7d8ab97b51dfc1c28918529774b67b6a4d7 [file] [log] [blame]
Simon Glass70db4212012-02-15 15:51:16 -08001/*
2 * decls for symbols defined in the linker script
3 *
4 * Copyright (c) 2012 The Chromium OS Authors.
5 *
6 * Licensed under the GPL-2 or later.
7 */
8
9#ifndef __SANDBOX_SECTIONS_H
10#define __SANDBOX_SECTIONS_H
11
12struct sb_cmdline_option;
13
14extern struct sb_cmdline_option *__u_boot_sandbox_option_start[],
15 *__u_boot_sandbox_option_end[];
16
17static inline size_t __u_boot_sandbox_option_count(void)
18{
19 return __u_boot_sandbox_option_end - __u_boot_sandbox_option_start;
20}
21
22#endif