From ae51f41d14f548d494ac41e0d21137c5a4c3f59c Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 30 Oct 2019 14:21:52 +0800 Subject: import the U-Boot code and make it compile --- include/fsl_devdis.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/fsl_devdis.h (limited to 'include/fsl_devdis.h') diff --git a/include/fsl_devdis.h b/include/fsl_devdis.h new file mode 100644 index 0000000..1f1b033 --- /dev/null +++ b/include/fsl_devdis.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2015 Freescale Semiconductor, Inc. + */ + +#ifndef __FSL_DEVDIS_H_ +#define __FSL_DEVDIS_H_ + +struct devdis_table { + char name[32]; + u32 offset; + u32 mask; +}; + +void device_disable(const struct devdis_table *tbl, uint32_t num); + +#endif -- cgit v1.2.3