From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 31 Jan 2013 11:40:19 -0500 Subject: [U-Boot] [PATCH 2/7] ARM: OMAP4+: Change the PRCM structure prototype common for all Socs In-Reply-To: <1359611525-19017-3-git-send-email-r.sricharan@ti.com> References: <1359611525-19017-1-git-send-email-r.sricharan@ti.com> <1359611525-19017-3-git-send-email-r.sricharan@ti.com> Message-ID: <510A9E73.4040800@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/31/2013 12:52 AM, R Sricharan wrote: > The current PRCM structure prototype directly matches the hardware > register layout. So there is a need to change this for every new > silicon revision which has register space changes. > > Avoiding this by making the prototye generic and populating the > register addresses seperately for all Socs. > > Signed-off-by: R Sricharan [snip] > arch/arm/cpu/armv7/omap4/prcm-regs.c | 267 ++++++++++++ > arch/arm/cpu/armv7/omap5/prcm-regs.c | 278 > +++++++++++++ These two are missing license information, please fix. Otherwise, I like the concept and I think it all looks fine. We stay about the same, binary size wise with all of this, correct? - -- Tom -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJRCp5zAAoJENk4IS6UOR1WVbwQAJ5oRqFDxGIfBG3Z17BoUWcv NI6A09ay83lss+pnL8hsETx4hc0IWyZKDvHIYMvvdGUk0Cn1mXpmVSOqyZwGQIAI RDOhOE4xdZuaCN39CrNHwmOejC3CgDft25wVuc2AwdfeqOqhdoO8k9aBq78CYgGQ i1xY/bAy0wAu1sxOvFgUlHqkGX+YSn+yCq3FNXgNJ3j+hJ/kemNSurEoeHUDXtwR 9zd16DGiApuywImuMI0qwfXBDTXYm3Rjv+Wsz5QfLNBkNkx0+O1bWsPhZFpB0Ygr EGggUAUYuS4H/ubrH2/j3951apLAuNGdiC/1gFbg8bov6RBSiFP9gXpLKKytTu5H WptzpxvGnNGbNgM8IHDqhUtFnmKg6azOgZilUQl6TO0gBmOi/o6fNvrg9fR2Em5C Eq+/whFsdypHxUkiqGrG57uD3xO7FCuu63yg4NkTX1jn70dGNd+V5Ad/u63Uejzx ut2sr0S9iAc611z1A10pUZGq4pnQCERtiBIZwOJOGPmv0O1oYatP2JNNctmDQs3U LR1/S3KvO9yl7ncpnKDwmO/Cn/RzBZ+xp8VvnwXeB/upVwMWkn9IhyLL1aYQDl4W a6i1oN55Sz911j65d8G66CT4rUMcG9tkcXmH0JQQTunF8O+Gzk8+ImQ5HuFz9qsz TYhk4OvsZeSZXiVVFFBI =p87D -----END PGP SIGNATURE-----