diff options
author | Phil Elwell <phil@raspberrypi.org> | 2018-09-17 09:22:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-25 20:44:57 +0200 |
commit | c683db8860a80562a2bb5b451d77b3e471d24f36 (patch) | |
tree | c28666d057f4fab70d848ad64f2c44e1254eff26 /drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h | |
parent | a779df303b0513f6ca6ae6ff06b0b93508193a5c (diff) | |
download | linux-stable-c683db8860a80562a2bb5b451d77b3e471d24f36.tar.gz linux-stable-c683db8860a80562a2bb5b451d77b3e471d24f36.tar.bz2 linux-stable-c683db8860a80562a2bb5b451d77b3e471d24f36.zip |
staging/vc04_services: Use correct cache line size
Use the compatible string in the DTB to select the correct cache line
size for the SoC - 32 for BCM2835, and 64 for BCM2836 and BCM2837.
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h')
-rw-r--r-- | drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h index 40bb0c63b1a9..2f3ebc99cbcf 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h @@ -123,6 +123,11 @@ typedef struct vchiq_arm_state_struct { } VCHIQ_ARM_STATE_T; +struct vchiq_drvdata { + const unsigned int cache_line_size; + struct rpi_firmware *fw; +}; + extern int vchiq_arm_log_level; extern int vchiq_susp_log_level; |