summaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 11:39:59 -0600
committerTom Rini <trini@konsulko.com>2020-05-18 17:33:33 -0400
commitb67eefdb6ec9467c41b1c0081f0823bbfff36b00 (patch)
tree00af42da2d2af2016692411dc462cb83ec5f39b5 /common/board_r.c
parente6f6f9e64882ddf242437c73fdd9ff06a8eb7c21 (diff)
bootstage: Use BOOTSTAGE instead of BOOTSTATE
Some of the enum members are wrong. Fix them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 33efcf6ad5..bd1ac353c7 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -312,9 +312,9 @@ static int initr_dm(void)
#ifdef CONFIG_TIMER
gd->timer = NULL;
#endif
- bootstage_start(BOOTSTATE_ID_ACCUM_DM_R, "dm_r");
+ bootstage_start(BOOTSTAGE_ID_ACCUM_DM_R, "dm_r");
ret = dm_init_and_scan(false);
- bootstage_accum(BOOTSTATE_ID_ACCUM_DM_R);
+ bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_R);
if (ret)
return ret;