]> git.proxmox.com Git - qemu.git/commit
PPC: e500: Refactor serial dt generation
authorAlexander Graf <agraf@suse.de>
Tue, 5 Jun 2012 23:19:40 +0000 (01:19 +0200)
committerAlexander Graf <agraf@suse.de>
Sat, 23 Jun 2012 23:04:51 +0000 (01:04 +0200)
commita053a7cea61da679fe87ce491701f3874ae42371
tree775d1249696ef27ad5a2c20a0182f53555a1d8bf
parent4b1b1c896fb38d435f3d350c44b1bdc8b56600a4
PPC: e500: Refactor serial dt generation

When generating serial port device tree nodes, we duplicate quite a bit
of code, because there are 2 of them in the mpc8544ds board we emulate.

Shove the generating code into a function, so we duplicate less code.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppce500_mpc8544ds.c