ARM: 7505/1: split out ATAGS parsing
commitaa783b6fd60b3844e199b1c2d2f4068f3caa1358
authorNicolas Pitre <nicolas.pitre@linaro.org>
Sat, 1 Sep 2012 02:00:15 +0000 (1 03:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 3 Sep 2012 21:55:56 +0000 (3 22:55 +0100)
tree393501d8ef825c12a18314981ca20f75120c79c3
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d
ARM: 7505/1: split out ATAGS parsing

Make ATAGS parsing into a source file of its own, namely atags_parse.c.
Also rename compat.c to atags_compat.c to make it clearer what it is
about.  Same for atags.c which is now atags_proc.c. Gather all the atags
function declarations into a common atags.h.

Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/Makefile
arch/arm/kernel/atags.h
arch/arm/kernel/atags_compat.c [moved from arch/arm/kernel/compat.c with 99% similarity]
arch/arm/kernel/atags_parse.c [new file with mode: 0644]
arch/arm/kernel/atags_proc.c [moved from arch/arm/kernel/atags.c with 100% similarity]
arch/arm/kernel/compat.h [deleted file]
arch/arm/kernel/setup.c