John Crispin a18b35a2f1 ramips: remove leading spaces, sort boards and optimize base-files/lib/ramips.sh
This patch:
 * fixes various mistakes (leading spaces, wrong or missing model names)
 * shortens model strings (we don't need to use whole model string from dts file, make it for consistency and as optimization)
 * sorts boards alphabetically

in base-files/lib/ramips.sh script.

Case statement was tested after above changes with simple script, which:
 * takes model string from dts{,i} file (model = "...")
 * provides this value as case input ($machine)
 * returns output ($name)

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

SVN-Revision: 46632
2015-08-17 06:01:44 +00:00
..
2015-07-05 21:32:44 +00:00
2015-07-14 09:57:45 +00:00
2015-08-14 13:06:33 +00:00
2015-06-30 23:26:09 +00:00
2015-07-22 12:51:11 +00:00
2015-08-14 13:06:33 +00:00
2015-07-14 09:57:45 +00:00
2015-08-05 13:55:14 +00:00