diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-04-02 20:59:49 +0300 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-04-03 14:02:29 +0100 |
commit | acca2a00ebf7b375f4b22274723b46d6a86a2b7e (patch) | |
tree | ed771d0cc237797e67af207f2d078431e35befae | |
parent | 12641489df3728da24ffce7b306081b8488c5246 (diff) | |
download | meta-raspberrypi-acca2a00ebf7b375f4b22274723b46d6a86a2b7e.tar.gz |
docs/extra-build-config.md: Auto-load I2C modules
Add instructions how to auto-load I2C kernel modules with
KERNEL_MODULE_AUTOLOAD when I2C is enabled.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
-rw-r--r-- | docs/extra-build-config.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index a2b68d8..843247a 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md | |||
@@ -184,6 +184,10 @@ When using device tree kernels, set this variable to enable I2C: | |||
184 | 184 | ||
185 | ENABLE_I2C = "1" | 185 | ENABLE_I2C = "1" |
186 | 186 | ||
187 | Furthermore, to auto-load I2C kernel modules set: | ||
188 | |||
189 | KERNEL_MODULE_AUTOLOAD_rpi += "i2c-dev i2c-bcm2708" | ||
190 | |||
187 | ## Enable PiTFT support | 191 | ## Enable PiTFT support |
188 | 192 | ||
189 | Basic support for using PiTFT screens can be enabled by adding below in | 193 | Basic support for using PiTFT screens can be enabled by adding below in |