Commit graph

8 commits

Author SHA1 Message Date
Enrico Jorns
1e3f8d8ffb fix leaks of memory returned by read_file() calls
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Reviewed-by: Michael Olbrich <mol@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
2019-01-10 12:22:50 +01:00
Uwe Kleine-König
92be9966a1 dtblint: check for fec reset gpio polarity mismatch 2016-07-09 00:46:38 +02:00
Uwe Kleine-König
53b85765d1 dtblint: split out imx-pinmux checks 2016-07-08 23:30:07 +02:00
Uwe Kleine-König
3b275d64a5 dtblint: fix a few swpad reset values
The reset values had bits set that were not in the writeable mask.
2016-07-05 22:23:55 +02:00
Uwe Kleine-König
71584f82f7 dtblint: don't accept 0 as config for a pad without config
The Linux driver fails on pinctrls that specify 0 as config, so
consequently flag this as error.
2015-09-29 11:12:36 +02:00
Uwe Kleine-König
c3d53e1668 dtblint: fix test for non-existent config register
When off_t is a bigger data type than u32 the check (conf_reg ==
(uint32_t)-1) never triggers.
2015-09-29 11:12:36 +02:00
Marc Kleine-Budde
a5aaea2a61 dtblint: silence unused-but-set-variable warnings
src/dtblint.c: In function ‘parse_function’:
src/dtblint.c:1153:12: warning: variable ‘input_val’ set but not used [-Wunused-but-set-variable]
   uint32_t input_val;
            ^
src/dtblint.c:1152:12: warning: variable ‘input_reg’ set but not used [-Wunused-but-set-variable]
   uint32_t input_reg;
            ^
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2015-06-15 17:13:20 +02:00
Uwe Kleine-König
12868dbd4d dtblint: new tool to check device tree blobs
Currently it checks iomux nodes on i.MX25 only, but adding other i.MX SoCs
is just a matter of adding the corresponding table
2015-05-29 11:21:31 +02:00