public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sean Anderson <seanga2@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 0/4] dm: Print device name in dev_xxx() like Linux
Date: Sat, 12 Sep 2020 20:28:17 -0400	[thread overview]
Message-ID: <20200913002821.404022-1-seanga2@gmail.com> (raw)

This series adds some additional information to dev_dbg. With this series, and
the following options applied in addition to sandbox_defconfig

CONFIG_LOGLEVEL=8
CONFIG_LOG=n
CONFIG_CMD_LOG=n
CONFIG_CMD_TPM=n

the output of U-Boot is

U-Boot 2020.10-rc4-00006-g19b641dddd-dirty (Sep 12 2020 - 18:15:00 -0400)

Model: sandbox
DRAM:  128 MiB
pinctrl-gpio sandbox_pinctrl_gpio: set_state_simple op missing
leds gpio_led: set_state_simple op missing
default_on gpio_led: set_state_simple op missing
base-gpios sandbox_gpio: set_state_simple op missing
default_off gpio_led: set_state_simple op missing
wdt at 0 wdt_sandbox: set_state_simple op missing
WDT:   Started with servicing (60s timeout)
MMC:   mmc0 mmc_sandbox: set_state_simple op missing
mmc1 mmc_sandbox: set_state_simple op missing
mmc2 mmc_sandbox: set_state_simple op missing
mmc2: 2 (SD), mmc1: 1 (SD), mmc0: 0 (SD)
lcd sandbox_lcd_sdl: set_state_simple op missing
In:    serial
Out:   vidconsole
Err:   vidconsole
Model: sandbox
hog_input_active_low gpio_hog: set_state_simple op missing
hog_input_active_high gpio_hog: set_state_simple op missing
hog_output_low gpio_hog: set_state_simple op missing
hog_output_high gpio_hog: set_state_simple op missing
cros-ec google_cros_ec_sandbox: set_state_simple op missing
SCSI:
pci_ep pci_ep_sandbox: set_state_simple op missing
Net:   eth at 10002000 eth_sandbox: set_state_simple op missing
eth0: eth at 10002000eth@10003000 eth_sandbox: set_state_simple op missing
, eth5: eth at 10003000sbe5 eth_sandbox: set_state_simple op missing
, eth3: sbe5eth at 10004000 eth_sandbox: set_state_simple op missing
, eth6: eth at 10004000
bootcount at 0 bootcount-rtc: set_state_simple op missing
i2c at 0 i2c_sandbox: set_state_simple op missing
rtc at 61 rtc-sandbox: set_state_simple op missing
emul i2c_emul_parent_drv: set_state_simple op missing
emull sandbox_i2c_rtc_emul: set_state_simple op missing
Hit any key to stop autoboot:

When using CONFIG_LOG the output of U-Boot is too verbose to fit in this email.
Note that there is a soft dependency on [1] if you would like to test this patch
with CONFIG_LOG and a higher LOG_LEVEL than LOGL_INFO.

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=201343


Sean Anderson (4):
  remoteproc: Remove unused function rproc_elf_sanity_check
  net: mdio: Supply appropriate devices for dev_dgb calls
  dm: Use symbolic constants for log levels in dev_xxx()
  dm: Print device name in dev_xxx() like Linux

 drivers/remoteproc/rproc-elf-loader.c | 16 ------
 include/dm/device_compat.h            | 75 +++++++++++++--------------
 include/remoteproc.h                  | 13 -----
 net/mdio-uclass.c                     |  4 +-
 4 files changed, 39 insertions(+), 69 deletions(-)

-- 
2.28.0

             reply	other threads:[~2020-09-13  0:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-13  0:28 Sean Anderson [this message]
2020-09-13  0:28 ` [PATCH 1/4] remoteproc: Remove unused function rproc_elf_sanity_check Sean Anderson
2020-09-17  1:09   ` Simon Glass
2020-09-13  0:28 ` [PATCH 2/4] net: mdio: Supply appropriate devices for dev_dgb calls Sean Anderson
2020-09-17  1:09   ` Simon Glass
2020-09-17  1:40     ` Sean Anderson
2020-09-17  3:44       ` Simon Glass
2020-09-13  0:28 ` [PATCH 3/4] dm: Use symbolic constants for log levels in dev_xxx() Sean Anderson
2020-09-17  1:09   ` Simon Glass
2020-09-13  0:28 ` [PATCH 4/4] dm: Print device name in dev_xxx() like Linux Sean Anderson
2020-09-13  1:43 ` [PATCH 0/4] " Sean Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200913002821.404022-1-seanga2@gmail.com \
    --to=seanga2@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox