56#ifndef _BSP_GR740_BOOTSTRAP_REGS_H
57#define _BSP_GR740_BOOTSTRAP_REGS_H
85#define GR740_BOOTSTRAP_BOOTSTRAP_B10 0x2000000U
87#define GR740_BOOTSTRAP_BOOTSTRAP_B9 0x1000000U
89#define GR740_BOOTSTRAP_BOOTSTRAP_B8 0x800000U
91#define GR740_BOOTSTRAP_BOOTSTRAP_B7 0x400000U
93#define GR740_BOOTSTRAP_BOOTSTRAP_B6 0x200000U
95#define GR740_BOOTSTRAP_BOOTSTRAP_B5 0x100000U
97#define GR740_BOOTSTRAP_BOOTSTRAP_B4 0x80000U
99#define GR740_BOOTSTRAP_BOOTSTRAP_B3 0x40000U
101#define GR740_BOOTSTRAP_BOOTSTRAP_B2 0x20000U
103#define GR740_BOOTSTRAP_BOOTSTRAP_B1 0x10000U
105#define GR740_BOOTSTRAP_BOOTSTRAP_GPIO_SHIFT 0
106#define GR740_BOOTSTRAP_BOOTSTRAP_GPIO_MASK 0xffffU
107#define GR740_BOOTSTRAP_BOOTSTRAP_GPIO_GET( _reg ) \
108 ( ( ( _reg ) & GR740_BOOTSTRAP_BOOTSTRAP_GPIO_MASK ) >> \
109 GR740_BOOTSTRAP_BOOTSTRAP_GPIO_SHIFT )
110#define GR740_BOOTSTRAP_BOOTSTRAP_GPIO_SET( _reg, _val ) \
111 ( ( ( _reg ) & ~GR740_BOOTSTRAP_BOOTSTRAP_GPIO_MASK ) | \
112 ( ( ( _val ) << GR740_BOOTSTRAP_BOOTSTRAP_GPIO_SHIFT ) & \
113 GR740_BOOTSTRAP_BOOTSTRAP_GPIO_MASK ) )
114#define GR740_BOOTSTRAP_BOOTSTRAP_GPIO( _val ) \
115 ( ( ( _val ) << GR740_BOOTSTRAP_BOOTSTRAP_GPIO_SHIFT ) & \
116 GR740_BOOTSTRAP_BOOTSTRAP_GPIO_MASK )
This structure defines the GR740 Bootstrap Signals register block memory map.
Definition: gr740-bootstrap-regs.h:124
uint32_t bootstrap
See Bootstrap register (BOOTSTRAP).
Definition: gr740-bootstrap-regs.h:128