summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-06-20 20:13:40 +0000
committerimp <imp@FreeBSD.org>2006-06-20 20:13:40 +0000
commitda7a558f2ecbc1670e062416489b5d6941ad24c5 (patch)
tree3f4bcc24b979fb0d1802411172119a694f75d643 /lib/libc
parent41188bcabec5989b5df3b8e9aa9b8451d12d237b (diff)
downloadFreeBSD-src-da7a558f2ecbc1670e062416489b5d6941ad24c5.zip
FreeBSD-src-da7a558f2ecbc1670e062416489b5d6941ad24c5.tar.gz
Probe the memory size of the board better. Look at the bus width,
number of banks, rows and columns the SDRAMC is programmed to access to determine the RAM size for the board, rather than hard-wiring it to be 32MB. My company's board with 64MB now probes correctly, as does the KB9202 with only 32MB. This means that to detect the right memory size, our boot loader must correctly initialize these values. This is a fairly safe assumption because the boot loader has to initialize SDRAM already, and it isn't really possible to change this register after we've accessed SDRAM.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud