]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: pxa3xx_nand: Don't alloc unneeded memory
authorKevin Smith <kevin.smith@elecsyscorp.com>
Thu, 14 Jan 2016 16:01:39 +0000 (16:01 +0000)
committerScott Wood <scottwood@freescale.com>
Fri, 12 Feb 2016 23:13:50 +0000 (17:13 -0600)
commit065a373d9318c83a493ca833d64881418449d429
tree430a3eb436ce5d322b9ad9211c9f57ad33011b56
parent84caff35df0a399051171e4a05c6cbcadd919b64
mtd: pxa3xx_nand: Don't alloc unneeded memory

The allocation size is reduced from what was introduced from the
Linux kernel, as U-boot uses the statically allocated nand_info
instead of needing to dynamically allocate an mtd_info instance.

Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
Cc: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/pxa3xx_nand.c