aboutsummaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-01-27 08:49:53 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commiteb7387ae14ef88ecba85d569de978da776ea4f09 (patch)
tree322647ee00bba89ef97d1b5b19f137aac4d572e3 /common/console.c
parentb83994dec7addcd5fecd0bfd2f734223eb0462f0 (diff)
downloadu-boot-eb7387ae14ef88ecba85d569de978da776ea4f09.zip
u-boot-eb7387ae14ef88ecba85d569de978da776ea4f09.tar.gz
u-boot-eb7387ae14ef88ecba85d569de978da776ea4f09.tar.bz2
sandbox: pmic: Correct i2c pmic emulator platdata method
This currently reads the uclass's private data in the ofdata_to_platdata method which is not allowed, since the uclass has not read it from the device tree. This happens in the probe method. Fix it by adding a probe() method and moving the code there. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/console.c')
0 files changed, 0 insertions, 0 deletions