openwrtv4/target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header
John Crispin 813a7c3827 ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40908
2014-06-02 12:42:52 +00:00

21 lines
229 B
Bash
Executable file

#!/bin/sh
#
# Copyright (C) 2012 OpenWrt.org
#
. /lib/ramips.sh
fix_seama_header() {
local part=$1
mtd fixseama $part
}
board=$(ramips_board_name)
case "$board" in
cy-swr1100 | \
dir-645)
fix_seama_header kernel
;;
esac