Simon Glass | 9e11f7a | 2012-04-02 13:18:51 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2012 The Chromium OS Authors. |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Simon Glass | 9e11f7a | 2012-04-02 13:18:51 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _GP_PADCTRL_H_ |
| 8 | #define _GP_PADCTRL_H_ |
| 9 | |
| 10 | /* APB_MISC_PP registers */ |
| 11 | struct apb_misc_pp_ctlr { |
| 12 | u32 reserved0[2]; |
| 13 | u32 strapping_opt_a;/* 0x08: APB_MISC_PP_STRAPPING_OPT_A */ |
| 14 | }; |
| 15 | |
| 16 | /* bit fields definitions for APB_MISC_PP_STRAPPING_OPT_A register */ |
| 17 | #define RAM_CODE_SHIFT 4 |
| 18 | #define RAM_CODE_MASK (0xf << RAM_CODE_SHIFT) |
| 19 | |
| 20 | #endif |