kernel: drop dead glamo code

The code is not used since the s3c24xx target was removed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: drop dead pwm code

The files have last been used with 2.6.x kernel.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37810 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add back missing declaration in the MIPS DMA patch that broke octeon

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37811 3c298f89-4303-0410-b956-a3cf2f4a3e73
[tools] mpc: upgrade to 1.0.1

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37812 3c298f89-4303-0410-b956-a3cf2f4a3e73
[tools] upx: upgrade to 3.09

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37813 3c298f89-4303-0410-b956-a3cf2f4a3e73
[package] uboot-env: fix spurious esac within ramips uci-defaults

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37814 3c298f89-4303-0410-b956-a3cf2f4a3e73
usbmode: update to latest version, includes fix from #14062

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37816 3c298f89-4303-0410-b956-a3cf2f4a3e73
[kernel] crypto: add missing depends for crypto-manager

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37817 3c298f89-4303-0410-b956-a3cf2f4a3e73
include: introduce subtarget_platform CONFIG_TARGET

Sometimes it is useful to change platform's kernel config file but with loaded
subtarget's kernel config. Good example for this use case is malta.

Example:

$ make kernel_menuconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37818 3c298f89-4303-0410-b956-a3cf2f4a3e73
malta: refresh configuration

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37819 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: crashlog: Avoid out-of-bounds write

vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.

Fix this by using vscnprintf which returns the actually written number
of chars.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37820 3c298f89-4303-0410-b956-a3cf2f4a3e73
netfilter: fix typo

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37821 3c298f89-4303-0410-b956-a3cf2f4a3e73
[package]: uboot-imx23: add new package for i.MX233 boards



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37822 3c298f89-4303-0410-b956-a3cf2f4a3e73
imx23: add support for u-boot image build



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37823 3c298f89-4303-0410-b956-a3cf2f4a3e73
imx23: bump kernel to 3.10.9



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37824 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add checksum for 3.10.9

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37825 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel/3.10: backport of_pci_get_devfn function from 3.11

Fixes the following build error on ramips/rt3883:

  arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \
  'of_pci_get_devfn' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Although the function is only used by the PCI driver
of the RT3883 SoC but at the moment but it might be
useful for other targets as well.

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37826 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: update the RT3883 PCI patch

Fix the following warning:

  arch/mips/pci/pci-rt3883.c: In function 'rt3883_pci_probe':
  arch/mips/pci/pci-rt3883.c:458:4: warning: use of 'h' length modifier with 'a' type character [-Wformat]

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37827 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: use correct parameters in the Seama template

Fixes DIR-645 image generation errors:

  bash: line 0: [: wrgn39_dlob.hans_dir645: integer expression expected
  ...
  bash: wrgn39_dlob.hans_dir645 - 64: syntax error: invalid arithmetic operator (error token is ".hans_dir645 - 64")  make[4]: *** [install] Error 1

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37828 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: use correct image size parameter for DIR-610 A1

Fixes the following error:

  bash: line 0: [: ralink_default_fw_size_4M: integer expression expected

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37829 3c298f89-4303-0410-b956-a3cf2f4a3e73