summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-meson/sm.h
blob: 60d04ae22838912ca72745db585a06fbb9d0c2bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * (C) Copyright 2016 - Beniamino Galvani <b.galvani@gmail.com>
 */

#ifndef __MESON_SM_H__
#define __MESON_SM_H__

ssize_t meson_sm_read_efuse(uintptr_t offset, void *buffer, size_t size);

#define SM_SERIAL_SIZE	12

int meson_sm_get_serial(void *buffer, size_t size);

#endif /* __MESON_SM_H__ */