SPL: Port SPL framework to powerpc
authorStefan Roese <sr@denx.de>
Thu, 23 Aug 2012 06:34:21 +0000 (08:34 +0200)
committerStefan Roese <sr@denx.de>
Wed, 5 Dec 2012 16:30:22 +0000 (17:30 +0100)
commitea8256f072ccc04c83fa10030673cdd4cd01cbd9
tree85d8f4dbeb70c33a9be4a6bfb7fd9cc259bde15d
parent966b11c74909d2c1b38070dc4ab5708fba5be43d
SPL: Port SPL framework to powerpc

This patch enables the SPL framework to be used on powerpc platforms
and not only ARM.

timer_init() does not exist on PPC systems. The timer (decrementer) is
initialized and enabled in interrupt_init() here. And currently
interrupt_init() is called after relocation to SDRAM. Since the only
powerpc SPL implementation (a3m071) doesn't need a timer, let's remove
this timer_init() call for PPC systems.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/lib/Makefile
arch/powerpc/lib/spl.c [new file with mode: 0644]
common/spl/spl.c