build: version release v4.1.4
support u-boot-spl [feat](PQbin) add config json param option [panel] add st7785m config in uboot adjust opensbi mem from 512KB to 256KB. [sensor]add sensor byd_bf2253l [sensor]add sensor sc1336_1l [sensor]add sensor gc2083 [build] add cv1813h_wevb_0007a_emmc build config delete property of ion node, ion size can be freely set by env [board] sync huashanpi emmc board configurations to nand and nor Change-Id: I705a04fd2f60b4cbe9919196770a396d72c1dcee
This commit is contained in:
@ -178,6 +178,11 @@ def gen_cvipart_h(output, parser):
|
||||
% (p["label"], int(p["part_size"] / LBA_SIZE))
|
||||
)
|
||||
|
||||
for i, p in enumerate(parts):
|
||||
if p["label"] == 'BOOT':
|
||||
of.write('#define SPL_%s_PART_OFFSET 0x%x\n' % (p["label"], int(p["offset"] / LBA_SIZE)))
|
||||
elif p["label"] == 'jump':
|
||||
of.write('#define SPL_%s_PART_OFFSET 0x%x\n' % ("BOOT", 0))
|
||||
of.write("#endif")
|
||||
logging.info("Done!")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user