]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board/BuR/common: fix detection for PSC/STM resetcontroller
authorHannes Schmelzer <hannes.schmelzer@br-automation.com>
Fri, 10 May 2019 09:22:00 +0000 (11:22 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 5 Jun 2019 16:13:46 +0000 (12:13 -0400)
Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
board/BuR/common/br_resetc.c

index 190f141091f2369dcb6ccca1efd0dd781dcd1916..c8cc73ab1417167499c7be1f4ece82e618efbe72 100644 (file)
@@ -64,6 +64,7 @@ static int resetc_init(void)
                return -1;
        }
 
+       resetc.is_psoc = 1;
        rc = dm_i2c_probe(i2cbus,
                          RSTCTRL_ADDR_PSOC, 0, &resetc.i2cdev);
        if (rc) {