]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/GenFds/Region.py
BaseTools/GenFds: factor out Region.PadBuffer() method
authorLaszlo Ersek <lersek@redhat.com>
Mon, 11 Jul 2016 14:17:23 +0000 (16:17 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Tue, 12 Jul 2016 11:19:10 +0000 (13:19 +0200)
commit5588565f4845d8138888f436218bc8334c0be54f
tree5de9c79df9c90fd09526535c5eabac2b817c46ac
parent0f65154396df0cae940b779f715da127c7d0b28f
BaseTools/GenFds: factor out Region.PadBuffer() method

The same logic is used in five places; factor it out to a common method.

Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/Python/GenFds/Region.py