x86: Add an enum for some commonly-used GDT bits
authorSimon Glass <sjg@chromium.org>
Tue, 4 Aug 2015 18:33:54 +0000 (12:33 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:44:07 +0000 (08:44 -0600)
commit7dfe8bdeef7f8a7223fb39e04faaa5c7489feb3f
tree8f932320d7cc091e8642742fc4e77661a8cb4bbd
parentb997abd3f06f136b226431a2947520dd5a426869
x86: Add an enum for some commonly-used GDT bits

Rather than add these as open-coded values, create an enum with the commonly
used flags.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/cpu.h