Revision 2ac71179 hw/tsc210x.c
b/hw/tsc210x.c | ||
---|---|---|
893 | 893 |
ret = tsc2102_audio_register_read(s, s->offset); |
894 | 894 |
break; |
895 | 895 |
default: |
896 |
cpu_abort(cpu_single_env, "tsc210x_read: wrong memory page\n");
|
|
896 |
hw_error("tsc210x_read: wrong memory page\n");
|
|
897 | 897 |
} |
898 | 898 |
|
899 | 899 |
tsc210x_pin_update(s); |
... | ... | |
930 | 930 |
tsc2102_audio_register_write(s, s->offset, value); |
931 | 931 |
break; |
932 | 932 |
default: |
933 |
cpu_abort(cpu_single_env, |
|
934 |
"tsc210x_write: wrong memory page\n"); |
|
933 |
hw_error("tsc210x_write: wrong memory page\n"); |
|
935 | 934 |
} |
936 | 935 |
|
937 | 936 |
tsc210x_pin_update(s); |
... | ... | |
945 | 944 |
uint32_t ret = 0; |
946 | 945 |
|
947 | 946 |
if (len != 16) |
948 |
cpu_abort(cpu_single_env, "%s: FIXME: bad SPI word width %i\n", |
|
949 |
__FUNCTION__, len); |
|
947 |
hw_error("%s: FIXME: bad SPI word width %i\n", __FUNCTION__, len); |
|
950 | 948 |
|
951 | 949 |
/* TODO: sequential reads etc - how do we make sure the host doesn't |
952 | 950 |
* unintentionally read out a conversion result from a register while |
Also available in: Unified diff