Revision 183aa454 hw/petalogix_s3adsp1800_mmu.c
b/hw/petalogix_s3adsp1800_mmu.c | ||
---|---|---|
164 | 164 |
|
165 | 165 |
if (kernel_filename) { |
166 | 166 |
uint64_t entry, low, high; |
167 |
int kcmdline_len; |
|
168 | 167 |
uint32_t base32; |
169 | 168 |
|
170 | 169 |
/* Boots a kernel elf binary. */ |
... | ... | |
187 | 186 |
} |
188 | 187 |
|
189 | 188 |
boot_info.cmdline = ddr_base + kernel_size + 8192; |
190 |
if (kernel_cmdline && (kcmdline_len = strlen(kernel_cmdline))) {
|
|
189 |
if (kernel_cmdline && strlen(kernel_cmdline)) {
|
|
191 | 190 |
pstrcpy_targphys("cmdline", boot_info.cmdline, 256, kernel_cmdline); |
192 | 191 |
} |
193 | 192 |
/* Provide a device-tree. */ |
Also available in: Unified diff