diff --git a/scripts/genimage_t527.cfg b/scripts/genimage_t527.cfg index 60778696..7e24679e 100644 --- a/scripts/genimage_t527.cfg +++ b/scripts/genimage_t527.cfg @@ -4,7 +4,7 @@ image boot.vfat { "Image", "sunxi.dtb", "../board/lt527x/syter_boot/bl31/bl31.bin", - "../utils/bl33/output/syter_bl33.bin" + "../board/lt527x/syter_boot/scp/scp.bin" } } size = 128M @@ -30,18 +30,4 @@ image sdcard.img { bootable = "true" image = "boot.vfat" } - - partition rootfs { - partition-type = 0xC - image = "rootfs.ext4" - } - - partition rootfs { - partition-type = 0xC - image = "rootfs.ext4" - } - - partition rootfs_data { - size = 128M - } } diff --git a/src/drivers/sun55iw3/sys-clk.c b/src/drivers/sun55iw3/sys-clk.c index 7a428290..3d745255 100644 --- a/src/drivers/sun55iw3/sys-clk.c +++ b/src/drivers/sun55iw3/sys-clk.c @@ -321,7 +321,7 @@ uint32_t sunxi_clk_get_peri1x_rate() { pllm = (reg32 & 0x01) + 1; p0 = ((reg32 >> 16) & 0x03) + 1; - return ((((24 * plln) / (pllm * p0))) * 1000 * 1000); + return ((((24 * plln) / (pllm * p0))) * 1000 * 1000) >> 1; } return 0;