summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/config.rst
blob: bd8aa65ddbcfaccf586c096182b6c3953dbad809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.. SPDX-License-Identifier: GPL-2.0

.. index::
   single: config (command)

config command
==============

Synopsis
--------

::

    config [<str>]

Description
-----------

The config command prints the `.config` file used when building U-Boot
to the console. Note that the `.config` file is usually several 1000
lines long.

If the optional argument is given, only lines containing that string
(case insensitively) are printed. That can be useful if one wants to
check whether a specific option is enabled, or just to limit the
output to the subsystem of interest.

The `.config` file is stored inside the U-Boot binary in
gzip-compressed format.

Examples
--------

.. code-block:: bash

    # Print the entire .config
    config

    # Print all lines related to pinctrl
    config pinctrl