MIPS: of: Introduce helper function to get DTB
Selection of the DTB to be used was burried in more or less readable code in head.S. Move this code into a inline helper function and use it. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Acked-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
@@ -282,7 +282,6 @@ union octeon_cvmemctl {
|
||||
extern void octeon_check_cpu_bist(void);
|
||||
|
||||
int octeon_prune_device_tree(void);
|
||||
extern const char __appended_dtb;
|
||||
extern const char __dtb_octeon_3xxx_begin;
|
||||
extern const char __dtb_octeon_68xx_begin;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user