diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-03-23 19:46:54 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-03-23 19:46:54 -0700 |
commit | 7df6804934c13590fffb98012a3728225bd21c99 (patch) | |
tree | 663f2a00e8338f47f9055dc2e9cfc04ce00845cd | |
parent | 466b7b48816e0b80c84ab55e01e9f58676c89687 (diff) | |
download | riscv-openocd-7df6804934c13590fffb98012a3728225bd21c99.zip riscv-openocd-7df6804934c13590fffb98012a3728225bd21c99.tar.gz riscv-openocd-7df6804934c13590fffb98012a3728225bd21c99.tar.bz2 |
Revert "(WIP) Force algorithms to 64 bit"
This reverts commit 466b7b48816e0b80c84ab55e01e9f58676c89687.
-rw-r--r-- | src/flash/nor/fespi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/fespi.c b/src/flash/nor/fespi.c index f974c36..21688f3 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)) { |