From: Barry Song Date: Tue, 25 Dec 2012 09:32:04 +0000 (+0800) Subject: serial: sirf: add support for new SiRFmarco SMP SoC X-Git-Tag: v3.9-rc1~125^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5425e03f97d1e5847372aae0b895d8d1c9bf2741;p=pandora-kernel.git serial: sirf: add support for new SiRFmarco SMP SoC CSR SiRFmarco's UART IP is same with SiRFprimaII except that it has two more uart ports. this patch makes the old driver support new SiRFmarco as well: 1. add .compatible = "sirf,marco-uart" to OF match table 2. add two ports in the port table 3. take spin_lock in isr to avoid the conflict of threads opening uart on CPU1 and isr running on CPU0. For 3, we did see some problems on SiRFmarco as SiRFmarco is a SMP SoC but the old SiRFprimaII is UP. Signed-off-by: Barry Song Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed