1 /*
2  * Copyright (c) 2018 Alexander Wachter
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <drivers/hwinfo.h>
8 
z_impl_hwinfo_get_device_id(uint8_t * buffer,size_t length)9 ssize_t __weak z_impl_hwinfo_get_device_id(uint8_t *buffer, size_t length)
10 {
11 	return -ENOSYS;
12 }
13 
z_impl_hwinfo_get_reset_cause(uint32_t * cause)14 int __weak z_impl_hwinfo_get_reset_cause(uint32_t *cause)
15 {
16 	return -ENOSYS;
17 }
18 
z_impl_hwinfo_clear_reset_cause(void)19 int __weak z_impl_hwinfo_clear_reset_cause(void)
20 {
21 	return -ENOSYS;
22 }
23 
z_impl_hwinfo_get_supported_reset_cause(uint32_t * supported)24 int __weak z_impl_hwinfo_get_supported_reset_cause(uint32_t *supported)
25 {
26 	return -ENOSYS;
27 }
28