The present invention includes a method and device for controlling the data length
of read and write operations performed on a memory device. The method includes
determining a first number of channels available to a memory controller operatively
coupled to the memory device; determining a second number representative of the
number of populated channels; calculating a burst length based on the first and
second numbers; and programming the memory controller to use the burst length as
the data length of read and write operations performed on the memory device.