]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: spl: Avoid setting up a duplicate global data structure
authorSimon Glass <sjg@chromium.org>
Tue, 3 Mar 2015 15:02:58 +0000 (08:02 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:10:28 +0000 (14:10 +0200)
commit026b8cd8bc83938c89eb7593f848f6f08115e1b2
tree4019f899d3e713b261a1fb235634b7227d64b4d4
parentc11df04be939ab57da0a950ad3b190221f508353
arm: spl: Avoid setting up a duplicate global data structure

This is already set up in crt0.S. We don't need a new structure and don't
really want one in the 'data' section of the image, since it will be empty
and crt0.S's changes will be ignored.

As an interim measure, remove it only if CONFIG_DM is not defined. This
allows us to press ahead with driver model in SPL and allow the stragglers
to catch up.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/spl.h
arch/arm/lib/spl.c