diff options
author | Patrick Delaunay | 2020-11-06 19:01:36 +0100 |
---|---|---|
committer | Patrick Delaunay | 2021-01-13 09:52:58 +0100 |
commit | 66b3b9db692d2f7ce393c5d003ef4a14d3d0f576 (patch) | |
tree | 4753ebcf085a6133cacf791612238c2f750b4dcb /drivers/ram/stm32mp1/stm32mp1_interactive.c | |
parent | 997f7dab9d6ea71436c5954b2fc2a64db2841fb9 (diff) |
ram: stm32mp1: migrate trace to dev or log macro
Define LOG_CATEGORY, use dev_ macro when it is possible
and migrate other trace to log_ macro.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'drivers/ram/stm32mp1/stm32mp1_interactive.c')
-rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_interactive.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ram/stm32mp1/stm32mp1_interactive.c b/drivers/ram/stm32mp1/stm32mp1_interactive.c index 5a5d0670461..e45a2489c50 100644 --- a/drivers/ram/stm32mp1/stm32mp1_interactive.c +++ b/drivers/ram/stm32mp1/stm32mp1_interactive.c @@ -3,6 +3,8 @@ * Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ +#define LOG_CATEGORY UCLASS_RAM + #include <common.h> #include <command.h> #include <console.h> @@ -404,7 +406,7 @@ bool stm32mp1_ddr_interactive(void *priv, #endif } - debug("** step %d ** %s / %d\n", step, step_str[step], next_step); + log_debug("** step %d ** %s / %d\n", step, step_str[step], next_step); if (next_step < 0) return false; |