Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Zhuoyu Zhang | 03c2244 | 2015-08-17 18:55:12 +0800 | [diff] [blame] | 2 | /* |
3 | * Copyright 2015 Freescale Semiconductor, Inc. | ||||
Zhuoyu Zhang | 03c2244 | 2015-08-17 18:55:12 +0800 | [diff] [blame] | 4 | */ |
5 | |||||
6 | #ifndef __FSL_DEVDIS_H_ | ||||
7 | #define __FSL_DEVDIS_H_ | ||||
8 | |||||
9 | struct devdis_table { | ||||
10 | char name[32]; | ||||
11 | u32 offset; | ||||
12 | u32 mask; | ||||
13 | }; | ||||
14 | |||||
15 | void device_disable(const struct devdis_table *tbl, uint32_t num); | ||||
16 | |||||
17 | #endif |