diff options
author | Tom Rini <trini@konsulko.com> | 2015-08-31 12:12:27 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-31 12:12:27 -0400 |
commit | b7e84c93c450480ca4ff51ad2eb56bd83c1dc368 (patch) | |
tree | 1523b49f2bd4d1880bfa12f22e11cb6ef66d2e3b /arch/arm/include/asm/arch-sunxi/tzpc.h | |
parent | 80cd58b99e8690b05e8537dbf76276e24fcfa652 (diff) | |
parent | fa5e102019e28a5936e52d6aa9f5624cf1744a35 (diff) |
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/tzpc.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/tzpc.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/tzpc.h b/arch/arm/include/asm/arch-sunxi/tzpc.h new file mode 100644 index 0000000000..ba4d43bc3a --- /dev/null +++ b/arch/arm/include/asm/arch-sunxi/tzpc.h @@ -0,0 +1,23 @@ +/* + * (C) Copyright 2015 Chen-Yu Tsai <wens@csie.org> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _SUNXI_TZPC_H +#define _SUNXI_TZPC_H + +#ifndef __ASSEMBLY__ +struct sunxi_tzpc { + u32 r0size; /* 0x00 Size of secure RAM region */ + u32 decport0_status; /* 0x04 Status of decode protection port 0 */ + u32 decport0_set; /* 0x08 Set decode protection port 0 */ + u32 decport0_clear; /* 0x0c Clear decode protection port 0 */ +}; +#endif + +#define SUNXI_TZPC_DECPORT0_RTC (1 << 1) + +void tzpc_init(void); + +#endif /* _SUNXI_TZPC_H */ |