diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2016-05-08 08:30:17 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 15:39:47 -0400 |
commit | c7757d46958463542f3c5cc359d53769f83b9148 (patch) | |
tree | ed1ef09debacb926671168f5c7540587f5176bcb /arch/arm/include/asm/arch-meson/sm.h | |
parent | bfcef28ae4cf04e7c1fd3aea1d60a17bd046f153 (diff) | |
download | u-boot-imx-c7757d46958463542f3c5cc359d53769f83b9148.zip u-boot-imx-c7757d46958463542f3c5cc359d53769f83b9148.tar.gz u-boot-imx-c7757d46958463542f3c5cc359d53769f83b9148.tar.bz2 |
arm: meson: implement calls to secure monitor
Implement calls to secure monitor to read the MAC address from e-fuse.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-meson/sm.h')
-rw-r--r-- | arch/arm/include/asm/arch-meson/sm.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-meson/sm.h b/arch/arm/include/asm/arch-meson/sm.h new file mode 100644 index 0000000..225438d --- /dev/null +++ b/arch/arm/include/asm/arch-meson/sm.h @@ -0,0 +1,12 @@ +/* + * (C) Copyright 2016 - Beniamino Galvani <b.galvani@gmail.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __MESON_SM_H__ +#define __MESON_SM_H__ + +ssize_t meson_sm_read_efuse(uintptr_t offset, void *buffer, size_t size); + +#endif /* __MESON_SM_H__ */ |