identifying s5p based devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After thinking about previous discussions with Samsng SystemLSI group
about the newer SoC and lack of continuty in the placement of the device
identification register I was thinking the following:

Woud it be possible to probe each possible ID register location to see
if there is a valid identity there and stop once a valid one is read?

IE:
	void __iomem *idplaces = {
	     ...
	     ....
	}

	...	

	for (r in idplaces) {
	    id = __raw_readl(r);
	    cpu = cpu_find(r);
	    if (cpu) {
	       print_cpu_id(cpu);
	       break;
	    }
	}

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux