1. 15 Oct, 2010 1 commit
  2. 08 Oct, 2010 3 commits
    • Feng Tang's avatar
      x86, earlyprintk: Add hsu early console for Intel Medfield platform · 4d033556
      Feng Tang authored
      Intel Medfield platform has a high speed UART device, which
      could act as a early console. To enable early printk of HSU
      console, simply add "earlyprintk=hsu" in kernel command line.
      
      Currently we put the code in the early_printk_mrst.c as it is
      also for Intel MID platforms like the mrst early console
      Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
      Acked-by: default avatarAlan Cox <alan@linux.intel.com>
      Cc: greg@kroah.com
      LKML-Reference: <1284361736-23011-5-git-send-email-feng.tang@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      4d033556
    • Feng Tang's avatar
      x86, earlyprintk: Add earlyprintk for Intel Moorestown platform · c20b5c33
      Feng Tang authored
      Intel Moorestown platform has a spi-uart device(Maxim3110),
      which connects to a Designware spi core controller. This patch
      will add early console function based on it.
      
      As it will be used long before Linux spi subsystem get
      initialised, we simply directly manipulate the spi controller's
      register to acheive the early console func. This is safe as it
      will be disabled when devices subsytem get initialised.
      
      To use it, user need enable CONFIG_X86_MRST_EARLY_PRINTK in
      kenrel config and add "earlyprintk=mrst" in kernel command line.
      Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
      Acked-by: default avatarAlan Cox <alan@linux.intel.com>
      Cc: greg@kroah.com
      LKML-Reference: <1284361736-23011-4-git-send-email-feng.tang@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      c20b5c33
    • Feng Tang's avatar
      x86: Add two helper macros for fixed address mapping · 5a47c7da
      Feng Tang authored
      Sometimes fixmap will be used to map an physical address which
      is not PAGE align, so to use it we need first map it and then
      add the address offset to the mapped fixed address. These 2 new
      helpers are suggested by Ingo Molnar to make the process
      simpler.
      
      For a physicall address like "phys", a directly usable virtual
      address can be get by
      	virt = (void *)set_fixmap_offset(fixed_idx, phys);
      or
      	virt = (void *)set_fixmap_offset_nocache(fixed_idx, phys);
      (depends on whether the physical address is cachable or not).
      Signed-off-by: default avatarFeng Tang <feng.tang@intel.com>
      Cc: alan@linux.intel.com
      Cc: greg@kroah.com
      Cc: x86@kernel.org
      LKML-Reference: <1284361736-23011-3-git-send-email-feng.tang@intel.com>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      5a47c7da
  3. 07 Oct, 2010 1 commit
  4. 06 Oct, 2010 6 commits
  5. 05 Oct, 2010 6 commits
  6. 04 Oct, 2010 23 commits