blob: 7d911f030bfa98e2903445c55df3905cefbc4ecd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef __LOADER_H__
#define __LOADER_H__
#include <linux/list.h>
#include <boot.h>
struct blspec_entry {
struct bootentry entry;
struct device_node *node;
struct cdev *cdev;
char *rootpath;
char *configpath;
};
int blspec_entry_var_set(struct blspec_entry *entry, const char *name,
const char *val);
const char *blspec_entry_var_get(struct blspec_entry *entry, const char *name);
int blspec_scan_devices(struct bootentries *bootentries);
int blspec_scan_device(struct bootentries *bootentries, struct device_d *dev);
int blspec_scan_devicename(struct bootentries *bootentries, const char *devname);
int blspec_scan_directory(struct bootentries *bootentries, const char *root);
#endif /* __LOADER_H__ */
|