From: Huacai Chen Date: Tue, 4 Nov 2014 06:13:27 +0000 (+0800) Subject: MIPS: Loongson: Improve LEFI firmware interface X-Git-Tag: omap-for-v3.19/fixes-rc1~122^2~136 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3adeb2566b9bc1dbf579ed515265c6aad756a5cd;p=pandora-kernel.git MIPS: Loongson: Improve LEFI firmware interface Machtypes of Loongson-3 machines become more and more, but there are only small differences among different machtypes. Keeping a large table of machtypes is very ugly and hard to extend. We found that the major machtype differences are UARTs information (number of UARTs, UART IRQs, UART clocks, etc.), platform devices (EC, temperature sensors, fan controllers, etc.) and some workarounds (because of some CPU bugs or mainboard bugs). In this patch we improve the UEFI-like (LEFI) interface to make all Loongson-3 machines use a same machtype "generic-loongson-machine". Signed-off-by: Huacai Chen Cc: John Crispin Cc: Steven J. Hill Cc: linux-mips@linux-mips.org Cc: Fuxin Zhang Cc: Zhangjin Wu Patchwork: https://patchwork.linux-mips.org/patch/8324/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed