diff options
author | Alexandru Gagniuc <alex.g@adaptrum.com> | 2017-04-04 10:42:31 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-08 09:26:55 -0400 |
commit | b09ece0836e0267b86f37defec267aa3806cb03a (patch) | |
tree | 7d3a337c553b4e10f762ee2bf1de4db70bf816e5 /arch/arm/dts/at91-sama5d2_xplained.dts | |
parent | 306b236bc1e426ff58ea8ddba1c6ad10327de6ff (diff) |
common/xyzModem.c: Do not use hard-coded address for debug buffer
Under the plethora of #ifdefs, the xyzModem code hid this pearl:
static char *zm_out = (char *) 0x00380000;
This was only enabled when DEBUG is defined, so it's probably why it
went unnoticed for so long. No idea what platform had memory at that
exact location, but the this approach is extremely hacky.
Use a static buffer instead.
Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Diffstat (limited to 'arch/arm/dts/at91-sama5d2_xplained.dts')
0 files changed, 0 insertions, 0 deletions