commit | 57dbd91768149162cf478d045753a0660c15d8f8 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Aug 14 13:26:43 2015 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Aug 28 12:33:14 2015 -0400 |
tree | 83e4d039c9f342ad0beab26e74def46a6d9295ce | |
parent | 1e642d7c03f7cddac01e09a06d89c8c26cc9aada [diff] |
malloc_simple: Correct the alignment logic in memalign_simple() This should use the align parameter, not bytes. Natural alignment is one use case but should not be the only one supported by this function. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>