mirror of
https://gitee.com/open-loongarch/u-boot.git
synced 2026-10-25 12:57:10 +08:00
update to 095bcbddca1
1. 2K300: fix 120M/100M NODE-REFC parameter 2. 2p500: cancel usb scan when boot and auto download fdisk.txt
This commit is contained in:
@@ -12,11 +12,11 @@
|
||||
#define NETWORK_FREQ 400
|
||||
|
||||
#ifdef REF_120M
|
||||
#define NODE_REFC 4
|
||||
#define NODE_DIV 4
|
||||
#else
|
||||
#define NODE_REFC 6
|
||||
#define NODE_DIV 2
|
||||
#else
|
||||
#define NODE_REFC 4
|
||||
#define NODE_DIV 2
|
||||
#endif
|
||||
#define NODE_LOOPC (CORE_FREQ*NODE_REFC*NODE_DIV/REF_FREQ)
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ CONFIG_CPU_600MHZ=y
|
||||
CONFIG_TARGET_LS2P500_RSJ=y
|
||||
CONFIG_LOONGSON_RECOVER=y
|
||||
CONFIG_LOONGSON_GENERAL_LOAD=y
|
||||
# CONFIG_LOONGSON_GENERAL_LOAD_FIX_FDISK is not set
|
||||
CONFIG_LOONGSON_BOARD_MMC_FS=y
|
||||
CONFIG_SPL_PAYLOAD="u-boot.img"
|
||||
CONFIG_PHYS_64BIT=y
|
||||
@@ -39,6 +38,7 @@ CONFIG_USE_BOOTARGS=y
|
||||
CONFIG_BOOTARGS="console=ttyS0,115200 rw noinitrd init=/linuxrc rootfstype=ext4 rootwait"
|
||||
CONFIG_USE_BOOTCOMMAND=y
|
||||
CONFIG_BOOTCOMMAND="setenv bootargs ${bootargs} root=/dev/mmcblk0p${syspart} mtdparts=${mtdparts};ext4load mmc 0:${syspart} ${loadaddr} /boot/uImage;bootm"
|
||||
# CONFIG_INIT_USB_INPUT_DEV_BOOT is not set
|
||||
CONFIG_LOGLEVEL=7
|
||||
CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
|
||||
# CONFIG_SYS_DEVICE_NULLDEV is not set
|
||||
|
||||
Reference in New Issue
Block a user