From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1chjL0-0002gS-CZ for barebox@lists.infradead.org; Sat, 25 Feb 2017 20:53:08 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Sat, 25 Feb 2017 21:52:42 +0100 Message-Id: <20170225205242.18106-5-u.kleine-koenig@pengutronix.de> In-Reply-To: <20170225205242.18106-1-u.kleine-koenig@pengutronix.de> References: <20170225205242.18106-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 4/4] mvebu: netgear-rn2120: make use of mvebu_get_initial_int_reg_base To: barebox@lists.infradead.org VGhpcyBpcyBuZWNlc3NhcnkgdG8gbWFrZSBzZWNvbmQgc3RhZ2UgYm9vdGluZyB3b3JrIHdoZW4g dGhlIHJlZ2lzdGVyCndpbmRvdyBpcyBhbHJlYWR5IG1vdmVkLgoKU2lnbmVkLW9mZi1ieTogVXdl IEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KLS0tCiBhcmNo L2FybS9ib2FyZHMvbmV0Z2Vhci1ybjIxMjAvbG93bGV2ZWwuYyB8IDEyICsrKysrKystLS0tLQog MSBmaWxlIGNoYW5nZWQsIDcgaW5zZXJ0aW9ucygrKSwgNSBkZWxldGlvbnMoLSkKCmRpZmYgLS1n aXQgYS9hcmNoL2FybS9ib2FyZHMvbmV0Z2Vhci1ybjIxMjAvbG93bGV2ZWwuYyBiL2FyY2gvYXJt L2JvYXJkcy9uZXRnZWFyLXJuMjEyMC9sb3dsZXZlbC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