Commit Graph

401975 Commits

Author SHA1 Message Date
Cai Zhiyong
d4900b6d2b block: support embedded device command line partition
Read block device partition table from command line.  The partition used
for fixed block device (eMMC) embedded device.  It is no MBR, save
storage space.  Bootloader can be easily accessed by absolute address of
data on the block device.  Users can easily change the partition.

This code reference MTD partition, source "drivers/mtd/cmdlinepart.c"
About the partition verbose reference
"Documentation/block/cmdline-partition.txt"

[akpm@linux-foundation.org: fix printk text]
[yongjun_wei@trendmicro.com.cn: fix error return code in parse_parts()]
Signed-off-by: Cai Zhiyong <caizhiyong@huawei.com>
Cc: Karel Zak <kzak@redhat.com>
Cc: "Wanglin (Albert)" <albert.wanglin@huawei.com>
Cc: Marius Groeger <mag@sysgo.de>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Artem Bityutskiy <dedekind@infradead.org>
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Conflicts:
	block/partitions/Kconfig
	block/partitions/Makefile
	block/partitions/check.c
2014-10-16 12:41:23 +08:00
cl
ffb44e63b3 cpufreq: set suspend volt to 1.1V for 40nm process, fix reboot err when vdd_arm regulator is not registered
Signed-off-by: cl <cl@rock-chips.com>
2014-10-16 11:13:34 +08:00
cl
de11a1a0ad rockchip: add gpio_poweroff driver
Signed-off-by: cl <cl@rock-chips.com>
2014-10-16 11:13:34 +08:00
Sun Mingjun
2fb7342aa7 rk3036:enable uboot display 2014-10-16 10:01:24 +08:00
zwl
81f254ee04 rk fb: add rk_fb_par data struct to store more fb info 2014-10-16 10:02:57 +08:00
Sun Mingjun
72e54fed64 rk312x : audio : fix the box audio crash bug when recording 2014-10-16 08:39:31 +08:00
CMY
f0ab5f44c0 rk: ion: add drm heap for secure buffer allocation 2014-10-15 15:31:17 +08:00
Zheng Yang
fc5a12b876 rk3036 lcdc: fix uboot display logo kernel open iommu splash 2014-10-15 14:31:21 +08:00
lyz
6953dcb68c rk312x: remove unused usb charger detect log info 2014-10-15 14:04:48 +08:00
zhangqing
5932cde9e4 rk312x:pmic:rk818:slove irq handle failed 2014-10-15 09:54:00 +08:00
wdc
760c87ac18 fiq-debugger: enable uart clk by serial-id 2014-10-14 19:13:29 +08:00
huang zhibao
40b8094c7e input:ir, resume -> resume_early for wakeup one time 2014-10-13 17:59:27 +08:00
gwl
4e4e6cf51a Wifi: update rtl8189es/etv to version 4.00(V4.3.10_12447.20141008). 2014-10-13 11:38:37 +08:00
hjc
d0b7bcb830 rk fb: fix uboot display logo kernel open iommu splash 2014-10-11 18:30:36 +08:00
hjc
ea45047091 rk312x lcdc: this vop bg layer not support yuv domain overlay,so bg val
have to set 0x800a80 equeal to 0x000000 at rgb domian,after
		 open win0/win1 alpha we recover to 0x00000.
2014-10-11 15:53:09 +08:00
hjc
a42586a2b4 rk hdmi: update hdmi connect status 2014-10-11 14:06:23 +08:00
lyz
495f30d337 usb: support different type of usb charger 2014-10-11 10:20:39 +08:00
Luowei
93d2953c67 box:enable uboot logo and sdmmc card 2014-10-11 09:18:08 +08:00
Luowei
2c90857272 unmask spi dma code for rk312x 2014-10-11 08:32:25 +08:00
张晴
c5ab013cf0 rk312x:clk:modify apll_clk 600M when init 2014-10-10 15:18:47 +08:00
CMY
f5a876c480 rk: ion: finished ION memory reserve more gracefully 2014-10-10 15:10:24 +08:00
hjc
aa7d084211 rk312x lcdc: update bcsh path select 2014-10-10 11:31:03 +08:00
lintao
47f217c4ea mmc: Support sdmmc/uart_dbg auto switch
Add pinctrl-names "udbg" in sdmmc blob, and drivers auto
switch io useage by card-detect tasklet routine. Only audi series need
it indeed now and ever.

Signed-off-by: lintao <lintao@rock-chips.com>
Acked-by: lw <lw@rock-chips.com>
Cc: phc <phc@rock-chips.com>
2014-10-10 09:56:24 +08:00
zwl
4ec5756cd5 rk312x:lvds: display no noise for lvds screen 2014-10-09 19:05:53 +08:00
cz
ee17c55c6d ethernet:gmac: fix the bug that rtl8201F attach failed when clock input from rk SoC 2014-10-09 18:20:22 +08:00
hjc
c9fbe6fa51 rk hdmi: update screen info for display uboot logo 2014-10-09 17:03:59 +08:00
hjc
a5c44520bb rk fb: fix change ddr freq lead to system panic when uboot display logo 2014-10-09 17:03:58 +08:00
lintao
27dc823ee9 mmc: only ctrl_all_reset if slot state really changed 2014-10-09 16:57:06 +08:00
cz
aa35638216 ethernet:gmac support phy irq for rtl8211e (disabled as default) 2014-10-09 14:45:09 +08:00
张晴
5dc17820ab rk312x:pmic:rt5036:updata drivers to 1.0.9;support hdmi connect to VMID 2014-10-09 14:42:36 +08:00
huang zhibao
5cfc1ebf83 input: box, ir add input.h in dts 2014-10-09 11:04:26 +08:00
huang zhibao
bc0654474f kernel:input:ir, fix start kernel oops and move spaces 2014-10-09 10:29:12 +08:00
Simon
4b61629e02 rockchip: gpu: add /sys/rk_gpu/error_count
Note: these add node "error_count" for rk3036/rk312x/rk3288
	  gpu error auto detect,if cat /sys/rk_gpu/error_count return
	  > 1,means gpu work unnormal currently
2014-10-09 10:02:43 +08:00
huang zhibao
552ead47b6 Merge branch 'develop-3.10' of ssh://10.10.10.29/rk/kernel into develop-3.10 2014-10-08 17:38:14 +08:00
huang zhibao
035efe383e kernel:input: remotectl remove ir key struct to dts and handle ir irq not on cpu0 2014-10-08 17:37:41 +08:00
lintao
baf64b4e46 mmc: merge dpm patch from my-mmc-next 2014-10-08 17:32:08 +08:00
hjc
f7691a0281 rk hdmi: identify diff SOC HDMI support video mode 2014-10-08 17:02:07 +08:00
zwl
32827dae2b rk312x lcdc: scaler function for one lcdc dual display is ok 2014-10-08 16:56:06 +08:00
hjc
110ecf64e7 rk3036 hdmi: fix edid read faile lead to error 2014-10-08 14:20:53 +08:00
lintao
709bdba41b fix pio complie warning 2014-10-08 08:22:02 +08:00
zwl
98aa3af321 rk fb: fix get ion handle fail for mmap when stop and start system 2014-10-07 19:54:16 +08:00
hjc
d83e2a6f8e rk hdmi: parse hdmi edid when uboot show logo 2014-10-07 18:09:12 +08:00
yxj
e9a60b7bc2 rk312x:lcdc:fix winx_set_addr register config err 2014-10-07 17:41:09 +08:00
cz
fa6e3c757c Revert "ethernet:gmac: enable PHY vendors's driver"
This reverts commit 269d928b5c.
2014-10-07 17:04:18 +08:00
CMY
a7500ac9e9 rk: ion: add event tracer 2014-10-07 14:07:28 +08:00
Zheng Yang
73f665afc9 rk3128-box-rk88.dts: set fb map to FB0_WIN0_FB1_WIN1_FB2_WIN2. 2014-10-07 09:24:58 +08:00
lintao
6b919533a0 mmc: fixup edma stop when data err occur, cause edma halt
Fast insert and remove sd card make edma equeue, dequeue
frequently. And with unstable fifo data err, if we stop edma, it
terminate all data will been sent later and flush that desc. However,
MHSC hardware fifo byte counter in fault state  because avaliable data
isn't enough, and remain data been teminated by stop edma. So edma req
signal in fault state event we restart edma. We just let edma sent remain
data, and reset fifo to drop these unused data.

<6>[ 1137.707403] mmc0: new SD card at address 1234
<6>[ 1137.708095] mmcblk0: mmc0:1234 SA02G 1.83 GiB
<3>[ 1141.654157] dwmmc_rockchip 10214000.rksdmmc: data_over interrupt timeout!

Signed-off-by: lintao <lintao@rock-chips.com>
2014-09-30 17:55:40 +08:00
yxj
3b980b6fb6 rk312x:lcdc: add interface to set buffer addre directly for win1&win0 2014-09-30 16:58:43 +08:00
yxj
5b24f4672a rk:fb: support all win for copy logo from loader
we default use win0 for ui,but some application
	want use win1,such as tv box
2014-09-30 16:58:43 +08:00
ljf
150fe18cde iep, disable iommu unmap for efficiency considering 2014-09-30 15:36:42 +08:00