From 7df6804934c13590fffb98012a3728225bd21c99 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Thu, 23 Mar 2017 19:46:54 -0700 Subject: [PATCH] Revert "(WIP) Force algorithms to 64 bit" This reverts commit 466b7b48816e0b80c84ab55e01e9f58676c89687. --- src/flash/nor/fespi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flash/nor/fespi.c b/src/flash/nor/fespi.c index f974c3600..21688f339 100644 --- a/src/flash/nor/fespi.c +++ b/src/flash/nor/fespi.c @@ -769,8 +769,8 @@ static int steps_execute(struct algorithm_steps *as, uint8_t *data_buf = malloc(data_wa->size); struct reg_param reg_params[2]; - init_reg_param(®_params[0], "x10", 64, PARAM_OUT); - init_reg_param(®_params[1], "x11", 64, PARAM_OUT); + init_reg_param(®_params[0], "x10", 32, PARAM_OUT); + init_reg_param(®_params[1], "x11", 32, PARAM_OUT); buf_set_u32(reg_params[0].value, 0, 32, ctrl_base); buf_set_u32(reg_params[1].value, 0, 32, data_wa->address); while (!as_empty(as)) {