diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-02-06 14:36:46 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-02-28 12:04:10 +0100 |
commit | 58ecd9ad0be3b0c4c3e278b718dada687f7e0d9d (patch) | |
tree | e306851d81f134db04699d69583b501d123f9daa /board/xilinx/zynqmp | |
parent | 380376520f726ee7544c2fcd3c114187f01a6f27 (diff) | |
download | u-boot-58ecd9ad0be3b0c4c3e278b718dada687f7e0d9d.tar.gz u-boot-58ecd9ad0be3b0c4c3e278b718dada687f7e0d9d.tar.xz u-boot-58ecd9ad0be3b0c4c3e278b718dada687f7e0d9d.zip |
net: zynq: Free allocated buffers in case of error
Driver probe function is called again and again in case of error.
Malloc space is getting full which is is reported by:
Insufficient RAM for page table: 0x15000 > 0x14000.
Please increase the size in get_page_table_size()
### ERROR ### Please RESET the board ###
The patch is freeing allocated buffers on error path to avoid panic.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx/zynqmp')
0 files changed, 0 insertions, 0 deletions