Skip to content
Snippets Groups Projects
  1. Apr 07, 2015
    • Tom Rini's avatar
      am33xx/ddr.c: Fix regression on DDR2 platforms · e049b772
      Tom Rini authored
      
      Back in fc46bae2 a "clean up" was introduced that intended to reconcile
      some of the AM335x codepaths based on how AM43xx operates.
      Unfortunately this introduced a regression on the DDR2 platforms.  This
      was un-noticed on DDR3 (everything except for Beaglebone White) as we
      had already populated sdram_config correctly in sequence.  This change
      brings us back to the older behavior and is fine on all platforms.
      
      Tested on Beaglebone White, Beaglebone Black and AM335x GP EVM
      
      Reported-by: default avatarMatt Ranostay <mranostay@gmail.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      e049b772
    • Pavel Machek's avatar
      cmd_mem: cleanups, catch bad usage · e37f1eb4
      Pavel Machek authored
      
      Currently, memtest will silently accept bad data. Perform error
      checking on user intput.
      
      Signed-off-by: default avatarPavel Machek <pavel@denx.de>
      e37f1eb4
    • Tang Yuantian's avatar
      ahci: Fix a wrong parameter pass · 8f6e1838
      Tang Yuantian authored
      
      In stead of user_buffer_size, transfer_size should be used to pass to
      ahci_device_data_io(). transfer_size is the length that we want the
      low level function to transfer each time.
      If we use user_buffer_size which is the totally data length as parameter,
      low level function will actually create many SGs to transfer as many data
      as possible each time. That will produce many redundant data transfer.
      
      Signed-off-by: default avatarTang Yuantian <Yuantian.Tang@freescale.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      8f6e1838
    • Mario Schuknecht's avatar
      env_sf: Fix recovery default · 5e8397dd
      Mario Schuknecht authored
      
      The u-boot environment is redundantly stored in a NOR flash on our boards.
      Redundant means that there are two places to store the environment. But only
      one of the two is active. I discovered that on one board the u-boot (env_sf)
      uses the environment from the second place and the Kernel (fw_printenv) uses
      the environment from the first place.
      To decide which is the active environment there is a byte inside the
      environment. 1 means active and 0 means obsolete. But on that board both
      environments had have a 1. This can happen if a power loss or reset occurs
      during writing the environment. In this situation the u-boot (env_sf)
      implementation uses the second environment as default. But the Kernel
      (fw_printenv) implementation uses the first environment as default.
      
      This commit corrects the default in the u-boot env_sf implementation when a
      problem was detected. Now the recovery default is the same like in all other
      environment implementations. E.g. fw_printenv and env_flash. This ensures that
      u-boot and Kernel use the same environment.
      
      Signed-off-by: default avatarMario Schuknecht <mario.schuknecht@dresearch-fe.de>
      5e8397dd
  2. Apr 06, 2015
  3. Apr 04, 2015
  4. Apr 03, 2015
  5. Apr 01, 2015
  6. Mar 31, 2015
Loading