staging: fsl-mc: use 32bits to support 64K size mc-portals
As per APIs each mc-portal is of 64K size while currently 16bits (type u16) is used to store size of mc-portal. In these cases upper bit of portal size gets truncated. Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com> Acked-By: Laurentiu Tudor <laurentiu.tudor@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1bb8155080
commit
612b5bac4e
|
@ -325,7 +325,7 @@ static inline void mc_cmd_read_api_version(struct mc_command *cmd,
|
|||
struct fsl_mc_io {
|
||||
struct device *dev;
|
||||
u16 flags;
|
||||
u16 portal_size;
|
||||
u32 portal_size;
|
||||
phys_addr_t portal_phys_addr;
|
||||
void __iomem *portal_virt_addr;
|
||||
struct fsl_mc_device *dpmcp_dev;
|
||||
|
|
Loading…
Reference in New Issue