Revision f21126df

b/hw/pl181.c
182 182
static void pl181_fifo_run(pl181_state *s)
183 183
{
184 184
    uint32_t bits;
185
    uint32_t value;
185
    uint32_t value = 0;
186 186
    int n;
187 187
    int is_read;
188 188

  
......
191 191
            && !s->linux_hack) {
192 192
        if (is_read) {
193 193
            n = 0;
194
            value = 0;
195 194
            while (s->datacnt && s->fifo_len < PL181_FIFO_LEN) {
196 195
                value |= (uint32_t)sd_read_data(s->card) << (n * 8);
197 196
                s->datacnt--;

Also available in: Unified diff