cvs commit: src/sys/arm/at91 at91rm92reg.h kb920x_machdep.c

Warner Losh imp at FreeBSD.org
Tue Jun 20 20:13:40 UTC 2006


imp         2006-06-20 20:13:40 UTC

  FreeBSD src repository

  Modified files:
    sys/arm/at91         at91rm92reg.h kb920x_machdep.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.3       +40 -0     src/sys/arm/at91/at91rm92reg.h
  1.7       +20 -2     src/sys/arm/at91/kb920x_machdep.c


More information about the cvs-src mailing list