clean up code and add comment for other interfaces.
Change-Id: Ibc64978d8db595c4fe76432faca77cdad9c949e6
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. support adc value recognize;
2. support gpio value recognize;
Change-Id: I8bcbdd914405184d46029c4995c09b09e36c7ea3
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
- support both gpt and rkparameter
- using blk_desc for read/write instead of rkblk api
- add a rockchip_get_resource_file() API for those image alread in RAM;
- try to get resource from AOSP boot.img/recovery.img first instead of
RESOURCE partition.
Change-Id: If7eb53723821b48e26a392bb18a3114faf35748a
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Rockchip resource image is used to store dtb
and logos for different usages. This patch adds
support to read the files(dtb or logo)stored in
resource image format partition.
Change-Id: I65982d340ff4573e5b543965d3857a2c66db8bb9
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>