summaryrefslogtreecommitdiffstats
path: root/device_tree.c
diff options
context:
space:
mode:
authoraurel322008-12-16 00:15:56 +0100
committeraurel322008-12-16 00:15:56 +0100
commitb7da58fd27bfbe7c14bc8a0332135663f17caecc (patch)
treeee4cb72849d55a29ccc100dbcdacafcead1cac6c /device_tree.c
parenttarget-ppc: rename ppc405_sdram_init() to ppc4xx_sdram_init() (diff)
downloadqemu-b7da58fd27bfbe7c14bc8a0332135663f17caecc.tar.gz
qemu-b7da58fd27bfbe7c14bc8a0332135663f17caecc.tar.xz
qemu-b7da58fd27bfbe7c14bc8a0332135663f17caecc.zip
target-ppc: create a helper function to allow more flexible RAM allocation for PPC 4xx
The 4xx SDRAM controller supports a small number of banks, and each bank must be one of a small set of sizes. The number of banks and the supported sizes varies by SoC. This function uses the user-specified RAM size to fill in the "ram_bases" and "ram_sizes" arrays required by ppc4xx_sdram_init(). Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6063 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions