diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2020-04-02 20:59:49 +0300 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-04-08 22:32:06 +0100 |
commit | 2425302885046a33973b6efe37b080fa5c7af016 (patch) | |
tree | 2f9782c027081258604ce73185ccb72a2dccab09 | |
parent | a63122c931f00dc71f947dd8513040cf346ec93e (diff) | |
download | meta-raspberrypi-2425302885046a33973b6efe37b080fa5c7af016.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 |