]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm_ffa: use debug logs
authorAbdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Wed, 9 Aug 2023 11:47:30 +0000 (12:47 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 17 Aug 2023 16:29:21 +0000 (12:29 -0400)
replace info logs with debug logs

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
doc/arch/arm64.ffa.rst
drivers/firmware/arm-ffa/arm-ffa-uclass.c
drivers/firmware/arm-ffa/arm-ffa.c
drivers/firmware/arm-ffa/ffa-emul-uclass.c
drivers/firmware/arm-ffa/sandbox_ffa.c

index 325fb80346e1ab28adb1491dc54f9e72887b8896..4ecdc31716a8c41f9895d96457cb07ccd2bc8003 100644 (file)
@@ -231,7 +231,7 @@ Please refer the command documentation at :doc:`../usage/cmd/armffa`
 Example of boot logs with FF-A enabled
 --------------------------------------
 
-For example, when using FF-A with Corstone-1000 the logs are as follows:
+For example, when using FF-A with Corstone-1000, debug logs enabled, the output is as follows:
 
 ::
 
index ffa9d81fa74409fde17148a8922c8d476fa163be..8c17b19eaf57837638a2b2fbfe9defd93cc7a1b2 100644 (file)
@@ -201,11 +201,11 @@ int ffa_get_version_hdlr(struct udevice *dev)
        major = GET_FFA_MAJOR_VERSION(res.a0);
        minor = GET_FFA_MINOR_VERSION(res.a0);
 
-       log_info("FF-A driver %d.%d\nFF-A framework %d.%d\n",
+       log_debug("FF-A driver %d.%d\nFF-A framework %d.%d\n",
                 FFA_MAJOR_VERSION, FFA_MINOR_VERSION, major, minor);
 
        if (major == FFA_MAJOR_VERSION && minor >= FFA_MINOR_VERSION) {
-               log_info("FF-A versions are compatible\n");
+               log_debug("FF-A versions are compatible\n");
 
                if (dev) {
                        uc_priv = dev_get_uclass_priv(dev);
index 68df75bd9e5243dac48380d9d2460140c3a04b4f..ee0bf9a55b4850c34f110e86daad976c9a0f520c 100644 (file)
@@ -42,7 +42,7 @@ static bool arm_ffa_discover(struct udevice *dev)
 {
        int ret;
 
-       log_info("Arm FF-A framework discovery\n");
+       log_debug("Arm FF-A framework discovery\n");
 
        ret = ffa_get_version_hdlr(dev);
        if (ret)
index 5562bbaac3a6ad992171358eb95e84ff55a2d622..4bf9f6041fecbe46bbdddfefc6ff7828d6afbaef 100644 (file)
@@ -695,7 +695,7 @@ int ffa_emul_find(struct udevice *dev, struct udevice **emulp)
                return ret;
        }
 
-       log_info("FF-A emulator ready to use\n");
+       log_debug("FF-A emulator ready to use\n");
 
        return 0;
 }
index ef9491ccead8d057180a05d1e0b42bbea1dc24b3..11142429c09b06a4235dcd1b92ea9dd5fccca996 100644 (file)
@@ -30,7 +30,7 @@ static int sandbox_ffa_discover(struct udevice *dev)
        int ret;
        struct udevice *emul;
 
-       log_info("Emulated FF-A framework discovery\n");
+       log_debug("Emulated FF-A framework discovery\n");
 
        ret = ffa_emul_find(dev, &emul);
        if (ret) {