1# SPDX-License-Identifier: GPL-2.0 2 3# Static default and range values 4 5config INT_DEFAULT_ABOVE_RANGE 6 int 7 range 1 1 8 default 16 9 10config INT_DEFAULT_BELOW_RANGE 11 int 12 range 4 8 13 default 2 14 15# Default and range values determined by other options 16 17config RANGE_UPPER_BOUND 18 int 19 default 3 20 21config INT_DYNAMIC_RANGE 22 int 23 range 0 RANGE_UPPER_BOUND 24 default 4 25 26# Hex 27 28config HEX_DEFAULT_ABOVE_RANGE 29 hex 30 range 0x10 0x20 31 default 0x40 32 33# Implicit default value of 0 34 35config INT_IMPLICIT_DEFAULT_ZERO 36 int 37 range 1 4 38 39# Conditional range 40 41config USE_FIRST_RANGE 42 bool 43 default y 44 45config INT_CONDITIONAL_RANGE 46 int 47 range 1 2 if USE_FIRST_RANGE 48 range 3 4 if !USE_FIRST_RANGE 49 default 3 50 51# Conditional default 52 53config USE_DEFAULT 54 bool 55 default y 56 57config INT_CONDITIONAL_DEFAULT 58 int 59 range 1 2 60 default 3 if USE_DEFAULT 61 62# Default outside of the range of a symbol with a prompt 63 64config INT_PROMPT_DEFAULT_ABOVE_RANGE 65 int "int with prompt" 66 range 1 4 67 default 8 68