Peter Maydell wrote:
On 25 December 2013 08:35, liguang<address@hidden> wrote:
sunxi-linux kernel parse config script
to do hardware configurations
Signed-off-by: liguang<address@hidden>
---
hw/arm/allwinner-a10.c | 18 ++++++++++++++++++
hw/arm/cubieboard.c | 2 ++
include/hw/arm/allwinner-a10.h | 5 +++++
pc-bios/aw-script.bin | Bin 0 -> 50188 bytes
What is this? You can't just stick a 50K binary into the
tree with no explanation, I'm afraid.
it's the approach sunxi-linux kernel config hardware,
the binary is actually a transformed text script,
and context of script is like:
[card0_boot_para]
card_ctrl = 0
card_high_speed = 1
card_line = 4
sdc_d1 = port:PF00<2><1><default><default>
sdc_d0 = port:PF01<2><1><default><default>
sdc_clk = port:PF02<2><1><default><default>
sdc_cmd = port:PF03<2><1><default><default>
sdc_d3 = port:PF04<2><1><default><default>
sdc_d2 = port:PF05<2><1><default><default>