From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Date: Wed, 8 Apr 2015 14:12:38 +0200 Subject: [U-Boot] socfpga: missing DECLARE_GLOBAL_DATA_PTR in timer.c Message-ID: <20150408121238.GA10371@amd> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de for A in `find . -name "*.c"`; do if grep DECLARE_GLOBAL_DATA_PTR $A; then echo -n; else echo $A; fi; done reveals a few files that probably should have DECLARE_GLOBAL_DATA_PTR. This fixes it for arch/arm/cpu/armv7/socfpga/timer.c . Signed-off-by: Pavel Machek index 253cde3..2dd8376 100644 --- a/arch/arm/cpu/armv7/socfpga/timer.c +++ b/arch/arm/cpu/armv7/socfpga/timer.c @@ -8,6 +8,8 @@ #include #include +DECLARE_GLOBAL_DATA_PTR; + #define TIMER_LOAD_VAL 0xFFFFFFFF static const struct socfpga_timer *timer_base = (void *)CONFIG_SYS_TIMERBASE; -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html