support mt300n-v2 flash
This commit is contained in:
parent
3efa9e0af2
commit
ad3f241af9
1 changed files with 13 additions and 0 deletions
|
@ -44,6 +44,13 @@
|
|||
defaultOutput = "tftproot";
|
||||
loadAddress = "0x80000000";
|
||||
entryPoint = "0x80000000";
|
||||
|
||||
flash = {
|
||||
address = "0xbc050000";
|
||||
size = "0xfb0000";
|
||||
};
|
||||
rootDevice = "1f05";
|
||||
|
||||
dts = {
|
||||
src = "${openwrt}/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts";
|
||||
includes = [
|
||||
|
@ -143,6 +150,12 @@
|
|||
MTD_CMDLINE_PARTS = "y";
|
||||
MTD_BLOCK = "y"; # fix undefined ref to register_mtd_blktrans_dev
|
||||
|
||||
SPI = "y";
|
||||
MTD_SPI_NOR = "y";
|
||||
SPI_MT7621 = "y";
|
||||
SPI_MASTER= "y";
|
||||
SPI_MEM= "y";
|
||||
|
||||
REGULATOR = "y";
|
||||
REGULATOR_FIXED_VOLTAGE = "y";
|
||||
|
||||
|
|
Loading…
Reference in a new issue