SDRAM module type detection.

This commit is contained in:
sorgelig
2019-09-02 03:31:48 +08:00
parent 0875c3d040
commit 25fb4570fe
5 changed files with 136 additions and 9 deletions

View File

@@ -423,7 +423,7 @@ static int make_env(const char *name, const char *cfg)
}
volatile char* str = (volatile char*)buf;
memset((void*)str, 0, 0x1000);
memset((void*)str, 0, 0xF00);
*str++ = 0x21;
*str++ = 0x43;