1. 29 Sep, 2008 7 commits
  2. 26 Sep, 2008 6 commits
  3. 25 Sep, 2008 3 commits
  4. 24 Sep, 2008 22 commits
  5. 23 Sep, 2008 2 commits
    • Jack Tan's avatar
      [MIPS] Fixe the definition of PTRS_PER_PGD · 5291925a
      Jack Tan authored
      When we use > 4KB's page size the original definition is not consistent
      with PGDIR_SIZE. For exeample, if we use 16KB page size the PGDIR_SHIFT is
      (14-2) + 14 = 26, PGDIR_SIZE is 2^26,so the PTRS_PER_PGD should be:
      
      	2^32/2^26 = 2^6
      
      but the original definition of PTRS_PER_PGD is 4096 (PGDIR_ORDER = 0).
      
      So, this definition needs to be consistent with the PGDIR_SIZE.
      
      And the new definition is consistent with the PGD init in pagetable_init().
      Signed-off-by: default avatarDajie Tan <jiankemeng@gmail.com>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      5291925a
    • Bruno Randolf's avatar
      [MIPS] au1000: Fix gpio direction · 44ce1719
      Bruno Randolf authored
      When setting the direction of one GPIO pin we have to keep the state of the
      other pins, hence use binary OR. Also gpio_direction_output() wants to set an
      initial value, so add that too.
      
      This fixes a problem with the USB power switch on mtx-1 boards.
      Signed-off-by: default avatarBruno Randolf <br1@einfach.org>
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      44ce1719