]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: zynq_sdhci: Add weak function prototype
authorT Karthik Reddy <t.karthik.reddy@xilinx.com>
Wed, 27 Apr 2022 08:27:12 +0000 (10:27 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 13 May 2022 07:10:02 +0000 (09:10 +0200)
commit155353234ec2259efae88c9973f81a53a2b9afb5
tree8290312f76f14fea704f8b5c3d6a7c1dd5ff8f74
parent1720336d3cc5a7e24faee915e0441c57df6e2cab
mmc: zynq_sdhci: Add weak function prototype

zynqmp_pm_is_function_supported() which checks feature support on som,
which is implemented in firmware_zynqmp.c driver. As mini configuration
does not use firmware driver, so create a weak function to avoid
compilation error on zynqmp mini configuration.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Acked-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/c60655a509956b8fc3a81671a7dc51157f3973db.1651048030.git.michal.simek@xilinx.com
drivers/mmc/zynq_sdhci.c