The opcode for 8bit load/store is 0 instead of 1, fix this.
Signed-off-by: Marek Vasut <marex@denx.de>
} else if (size == 2) {
opcode = 2;
} else if (size == 1) {
- opcode = 1;
+ opcode = 0;
} else {
ORC_COMPILER_ERROR(compiler,"bad unaligned load size %d",
src->size << compiler->insn_shift);
} else if (size == 2) {
opcode = 2;
} else if (size == 1) {
- opcode = 1;
+ opcode = 0;
} else {
ORC_COMPILER_ERROR(compiler,"bad unaligned load size %d",
src->size << compiler->insn_shift);