0bd4a5eb67f9a14621d8b535279ed5ff6bd6fa1f
[firefly-linux-kernel-4.4.55.git] / include / linux / soc / rockchip / rk_vendor_storage.h
1 /*
2  * Copyright (c) 2016, Fuzhou Rockchip Electronics Co., Ltd
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or (at
7  * your option) any later version.
8  */
9
10 #ifndef __PLAT_RK_VENDOR_STORAGE_H
11 #define __PLAT_RK_VENDOR_STORAGE_H
12
13 #define RSV_ID          0
14 #define SN_ID           1
15 #define WIFI_MAC_ID     2
16 #define LAN_MAC_ID      3
17 #define BT_MAC_ID       4
18
19 int rk_vendor_read(u32 id, void *pbuf, u32 size);
20 int rk_vendor_write(u32 id, void *pbuf, u32 size);
21 int rk_vendor_register(void *read, void *write);
22
23 #endif